git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5503
d7cf8633-e32d-0410-b094-
e92efae38249
if (!cl_capturevideo_soundfile)
return;
cl_capturevideo_soundrate = rate;
- if (FS_Write (cl_capturevideo_soundfile, bufstereo16le, 4 * length) < 4 * length)
+ if (FS_Write (cl_capturevideo_soundfile, bufstereo16le, 4 * length) < (fs_offset_t)(4 * length))
{
Cvar_SetValueQuick(&cl_capturevideo, 0);
Con_Printf("video sound saving failed on frame %i, out of disk space? stopping video capture.\n", cl_capturevideo_frame);
typedef enum {false, true} qboolean;
-#ifdef WIN64
-# define ssize_t long long
-#elifdef WIN32
+#if defined(WIN32) && !defined(WIN64)
# define ssize_t long
#endif