mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
advapi32/tests: Don't use "long" for variable types.
This commit is contained in:
parent
d2f6f56873
commit
4de7ac858b
@ -47,9 +47,9 @@ static DWORD (WINAPI *pRegDeleteTreeA)(HKEY,LPCSTR);
|
||||
static char *get_temp_buffer( int size )
|
||||
{
|
||||
static char *list[32];
|
||||
static long pos;
|
||||
static UINT pos;
|
||||
char *ret;
|
||||
int idx;
|
||||
UINT idx;
|
||||
|
||||
idx = ++pos % (sizeof(list)/sizeof(list[0]));
|
||||
if ((ret = realloc( list[idx], size ))) list[idx] = ret;
|
||||
|
Loading…
Reference in New Issue
Block a user