Add test for fopen_packed()

This commit is contained in:
Sergey Lyubka committed 2021-07-26 09:05:34 +01:00
1 parent b0e0247b21
commit 299075c930
6 files changed
+158 -20

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ int main(int argc, char *argv[]) {
printf(" // %.*s\n", j, ascii);
j = 0;
}
ascii[j] = (ch >= ' ' && ch <= '~' && ch != '\\') ? ch : '.';
ascii[j] = (char) ((ch >= ' ' && ch <= '~' && ch != '\\') ? ch : '.');
printf(" %3u,", ch);
}
// Append zero byte at the end, to make text files appear in memory