* zdiscid.c (get_cddb_id): Change from unsigned long int to
unsigned int. Prevents issues with 64bit systems.
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
int read_toc();
int cddb_sum(int);
-unsigned long get_cddb_id(int);
+unsigned get_cddb_id(int);
int
read_toc()
return ret;
}
-unsigned long
+unsigned
get_cddb_id(int ntrks)
{
int i, t, n;
break;
}
- printf("%08lx %d", get_cddb_id(ntrks), ntrks);
+ printf("%08x %d", get_cddb_id(ntrks), ntrks);
for (i = 0; i < ntrks; i++) {
printf(" %d", cdtoc[i].frame);
}