From e490e791a6d8361d24f34df839261050cc5e166e Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 8 Nov 2009 02:46:32 +0000 Subject: [PATCH] VC warning fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4724 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index 59ee9819..2fde77ba 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -173,7 +173,7 @@ struct jpegscreenshotdest : jpeg_destination_mgr void flush(bool full) { - file->write(buf, (int)sizeof(buf) - (full ? 0 : free_in_buffer)); + file->write(buf, int(sizeof(buf) - (full ? 0 : free_in_buffer))); reset(); }