Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
+1190
-1187
File diff suppressed because it is too large
Load Diff
+3509
-3506
File diff suppressed because it is too large
Load Diff
+1
@@ -542,6 +542,7 @@ THREAD_RETVAL THREAD_CALLCONV wxThreadInternal::WinThreadStart(void *param)
|
||||
wxThread * const thread = (wxThread *)param;
|
||||
|
||||
// each thread has its own SEH translator so install our own a.s.a.p.
|
||||
#pragma warning(disable:4535) //probably not a good idea, but it won't compile otherwise.
|
||||
DisableAutomaticSETranslator();
|
||||
|
||||
// first of all, check whether we hadn't been cancelled already and don't
|
||||
|
||||
+3
-3
@@ -631,8 +631,8 @@ png_write_IDAT(png_structp png_ptr, png_bytep data, png_size_t length)
|
||||
if (data[0] != (png_byte)z_cmf)
|
||||
{
|
||||
data[0] = (png_byte)z_cmf;
|
||||
data[1] &= 0xe0;
|
||||
data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f);
|
||||
data[1] &= (png_byte)0xe0;
|
||||
data[1] = (png_byte)(data[1] + 0x1f - ((z_cmf << 8) + data[1]) % 0x1f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1556,7 +1556,7 @@ png_write_sCAL(png_structp png_ptr, int unit, double width,double height)
|
||||
#endif
|
||||
png_size_t total_len;
|
||||
char wbuf[32], hbuf[32];
|
||||
png_byte bunit = unit;
|
||||
png_byte bunit = (png_byte)unit;
|
||||
|
||||
png_debug(1, "in png_write_sCAL\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user