fix: printf flag on Win32 for a size_t
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
FILE *fstream = NULL;
|
FILE *fstream = NULL;
|
||||||
void show_error(size_t line, char *line_) {
|
void show_error(size_t line, char *line_) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
int wrote = fprintf(fstream, "%ud| ", line + 1);
|
int wrote = fprintf(fstream, "%llu| ", line + 1);
|
||||||
#else
|
#else
|
||||||
int wrote = fprintf(fstream, "%ld| ", line + 1);
|
int wrote = fprintf(fstream, "%ld| ", line + 1);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user