- fprintf(out, "\n\t0x%08x, 0x%08x, 0x%08x, 0x%08x",
- comps[i].comp, comps[i].count, comps[i].code1, comps[i].code2);
+ fprintf(out, "\n\t0x%08lx, 0x%08lx, 0x%08lx, 0x%08lx",
+ (unsigned long) comps[i].comp, (unsigned long) comps[i].count,
+ (unsigned long) comps[i].code1, (unsigned long) comps[i].code2);