[Scummvm-cvs-logs] CVS: tools saga2mp3.c,1.4,1.5
Jonathan Gray
khalek at users.sourceforge.net
Tue Dec 21 15:42:02 CET 2004
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21200
Modified Files:
saga2mp3.c
Log Message:
Use uint32 rather than pseudo ulong type.
Index: saga2mp3.c
===================================================================
RCS file: /cvsroot/scummvm/tools/saga2mp3.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- saga2mp3.c 13 Oct 2004 00:40:46 -0000 1.4
+++ saga2mp3.c 21 Dec 2004 23:41:14 -0000 1.5
@@ -20,13 +20,9 @@
#include <stdio.h>
#include "extract.h"
-#ifndef _SYS_TYPES_H
-typedef unsigned int ulong;
-#endif
-
typedef struct RECORD {
- ulong offset;
- ulong size;
+ uint32 offset;
+ uint32 size;
} RECORD;
static CompressMode gCompMode = kMP3Mode;
@@ -38,12 +34,12 @@
FILE *res_file;
FILE *outputfile;
- ulong res_tbl_ct;
- ulong res_tbl_offset;
- ulong res_size;
- ulong outtable_offset;
+ uint32 res_tbl_ct;
+ uint32 res_tbl_offset;
+ uint32 res_size;
+ uint32 outtable_offset;
- ulong t;
+ uint32 t;
struct RECORD *table;
struct RECORD *outtable;
More information about the Scummvm-git-logs
mailing list