johnwbyrd/logog — Issue #11: Warning causes build error when building for x64. 
Author: israelsadeh
Created: 2012-03-07 08:28:25+00:00
State: open

When building on Visual Studio 2010 for x64 size_t is defined as unsigned __int64.

This causes the following warning in LogFile::InternalOutput() due to the plcing of thefwrite() return value in an int:

target.cpp(192): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data

This warning causes the build error:
error C2220: warning treated as error - no 'object' file generated

thanks,