mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 19:12:25 +00:00
%zd not supportd by mingw, cast strnlen return to int.
This commit is contained in:
parent
7eda4c830f
commit
b63bfd4b4a
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ void writeConfigurationMod() {
|
|||
fprintf(fd, " installdir* = '%s';\n", installdir);
|
||||
fprintf(fd, " staticLink* = '%s';\n", staticlink);
|
||||
fprintf(fd, "VAR\n");
|
||||
fprintf(fd, " versionLong-: ARRAY %zd OF CHAR;\n", strnlen(versionstring, 100)+1);
|
||||
fprintf(fd, " versionLong-: ARRAY %d OF CHAR;\n", (int)strnlen(versionstring, 100)+1);
|
||||
fprintf(fd, "BEGIN\n");
|
||||
fprintf(fd, " versionLong := '%s';\n", versionstring);
|
||||
fprintf(fd, "END Configuration.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue