Michael Stefaniuc : advapi32/tests: Don't use "long" for variable types.
Alexandre Julliard
julliard at winehq.org
Mon Mar 23 12:34:49 CDT 2009
Module: wine
Branch: master
Commit: 4de7ac858b6375954ed95e2144e682198c6ffc6b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4de7ac858b6375954ed95e2144e682198c6ffc6b
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Mar 17 10:03:51 2009 +0100
advapi32/tests: Don't use "long" for variable types.
---
dlls/advapi32/tests/registry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index b63b3e2..a3d9f30 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -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;
More information about the wine-cvs
mailing list