Windows: #196 MinGW/MSYS instructions; INTERNAL and printf %zu Windows-compat fixes

This commit is contained in:
gitlost 2020-06-18 15:51:57 +01:00
parent 9db5dd15c2
commit d921cb11fb
3 changed files with 112 additions and 13 deletions

View file

@ -808,7 +808,7 @@ static int ultra_generate_codewords(struct zint_symbol *symbol, const unsigned c
mode[crop_length] = '\0';
if (symbol->debug & ZINT_DEBUG_PRINT) {
printf("Mode: %s (%zu)\n", mode, strlen(mode));
printf("Mode: %s (%d)\n", mode, (int) strlen(mode));
}
/* Use results from test to perform actual mode switching */