Endianness test

This commit is contained in:
cpq committed 2022-11-09 09:20:15 +00:00
1 parent e580d4e637
commit 28a4778187
7 files changed
+55 -65

No files matched your search

+2 -1
View File
@@ -102,7 +102,8 @@ int main(int argc, char *argv[]) {
}
stat(argv[i], &st);
if (strncmp(name, strip_prefix, n) == 0) name += n;
printf(" {\"/%s\", v%d, sizeof(v%d), %lu},\n", name, i, i, st.st_mtime);
printf(" {\"/%s\", v%d, sizeof(v%d), %lu},\n", name, i, i,
(unsigned long) st.st_mtime);
}
printf("%s", " {NULL, NULL, 0, 0}\n");
printf("%s", "};\n\n");