mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
Clean up some int32/long confusion
This commit is contained in:
parent
226de40a17
commit
6d0679cbd9
2 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ typedef struct DUMBFILE_SYSTEM
|
||||||
int32 (DUMBCALLBACK *getnc)(char *ptr, int32 n, void *f);
|
int32 (DUMBCALLBACK *getnc)(char *ptr, int32 n, void *f);
|
||||||
void (DUMBCALLBACK *close)(void *f);
|
void (DUMBCALLBACK *close)(void *f);
|
||||||
int (DUMBCALLBACK *seek)(void *f, long n);
|
int (DUMBCALLBACK *seek)(void *f, long n);
|
||||||
int32 (DUMBCALLBACK *get_size)(void *f);
|
long (DUMBCALLBACK *get_size)(void *f);
|
||||||
}
|
}
|
||||||
DUMBFILE_SYSTEM;
|
DUMBFILE_SYSTEM;
|
||||||
|
|
||||||
|
|
|
@ -509,7 +509,7 @@ static int DUMBCALLBACK dumbfile_mem_seek(void *f, long n)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32 DUMBCALLBACK dumbfile_mem_get_size(void *f)
|
static long DUMBCALLBACK dumbfile_mem_get_size(void *f)
|
||||||
{
|
{
|
||||||
dumbfile_mem_status * s = (dumbfile_mem_status *) f;
|
dumbfile_mem_status * s = (dumbfile_mem_status *) f;
|
||||||
return s->size;
|
return s->size;
|
||||||
|
|
Loading…
Reference in a new issue