Update bootstrap source. Fix MSC build and prontf format %zd.

This commit is contained in:
David Brown 2016-08-23 18:26:55 +01:00
parent 3d356298cc
commit fcefd3c444
7 changed files with 32 additions and 22 deletions

View file

@ -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 %d OF CHAR;\n", strnlen(versionstring, 100)+1);
fprintf(fd, " versionLong-: ARRAY %zd OF CHAR;\n", strnlen(versionstring, 100)+1);
fprintf(fd, "BEGIN\n");
fprintf(fd, " versionLong := '%s';\n", versionstring);
fprintf(fd, "END Configuration.\n");