Windows typedef for "int32" was incorrectly flagged "unsigned" trunk
authorRyan C. Gordon <icculus@icculus.org>
Wed, 30 Jul 2008 05:11:15 -0400
branchtrunk
changeset 436 304072996bda
parent 435 88abca0babe9
child 437 a97a9b21087b
Windows typedef for "int32" was incorrectly flagged "unsigned"
mojoshader.c
mojoshader_opengl.c
--- a/mojoshader.c	Wed Jul 30 04:59:35 2008 -0400
+++ b/mojoshader.c	Wed Jul 30 05:11:15 2008 -0400
@@ -59,7 +59,7 @@
 typedef unsigned __int8 uint8;
 typedef unsigned __int16 uint16;
 typedef unsigned __int32 uint32;
-typedef unsigned __int32 int32;
+typedef __int32 int32;
 // Warning Level 4 considered harmful.  :)
 #pragma warning(disable: 4100)  // "unreferenced formal parameter"
 #pragma warning(disable: 4389)  // "signed/unsigned mismatch"
--- a/mojoshader_opengl.c	Wed Jul 30 04:59:35 2008 -0400
+++ b/mojoshader_opengl.c	Wed Jul 30 05:11:15 2008 -0400
@@ -31,7 +31,7 @@
 #define snprintf _snprintf
 typedef unsigned __int8 uint8;
 typedef unsigned __int32 uint32;
-typedef unsigned __int32 int32;
+typedef __int32 int32;
 // Warning Level 4 considered harmful.  :)
 #pragma warning(disable: 4100)  // "unreferenced formal parameter"
 #pragma warning(disable: 4389)  // "signed/unsigned mismatch"