Browse Source

one less warning

master
Felix von Leitner 3 years ago
parent
commit
a410c4c76f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ent.c

+ 1
- 1
ent.c View File

@ -207,7 +207,7 @@ int main() {
{
FILE* f=fopen("entities.h","w");
size_t i;
fprintf(f,"struct {\n uint32_t tab[%lu];\n char data[%lu];\n} entities = {\n {",marshaled[0],datasize);
fprintf(f,"struct {\n uint32_t tab[%u];\n char data[%lu];\n} entities = {\n {",marshaled[0],datasize);
for (i=0; i<marshaled[0]; ++i) {
if (i%8 == 0) fprintf(f,"\n ");
fprintf(f,"0x%x,",marshaled[i]);


Loading…
Cancel
Save