Skip to content

Commit

Permalink
Windows typedef for "int32" was incorrectly flagged "unsigned"
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jul 30, 2008
1 parent ba882c2 commit 252f800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -59,7 +59,7 @@ typedef unsigned int uint; // this is a printf() helper. don't use for code.
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"
Expand Down
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -31,7 +31,7 @@ typedef unsigned int uint; // this is a printf() helper. don't use for code.
#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"
Expand Down

0 comments on commit 252f800

Please sign in to comment.