Skip to content

Commit

Permalink
Fix format specifier (MSVC)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Feb 7, 2016
1 parent 4e45a43 commit ab5a2c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mat.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# include <io.h>
# define mktemp _mktemp
#endif
#if defined(__MINGW32__)
#if defined(_MSC_VER) || defined(__MINGW32__)
# define SIZE_T_FMTSTR "Iu"
#else
# define SIZE_T_FMTSTR "zu"
Expand Down
2 changes: 1 addition & 1 deletion tools/matdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#if !defined(HAVE_STRCASECMP)
# define strcasecmp(a,b) strcmp(a,b)
#endif
#if defined(__MINGW32__)
#if defined(_MSC_VER) || defined(__MINGW32__)
# define SIZE_T_FMTSTR "Iu"
#else
# define SIZE_T_FMTSTR "zu"
Expand Down

0 comments on commit ab5a2c0

Please sign in to comment.