Commit 4de7ac85 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent d2f6f568
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment