advapi32/tests: Don't use "long" for variable types.

This commit is contained in:
Michael Stefaniuc 2009-03-17 10:03:51 +01:00 committed by Alexandre Julliard
parent d2f6f56873
commit 4de7ac858b
1 changed files with 2 additions and 2 deletions

View File

@ -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;