summaryrefslogtreecommitdiff
path: root/random/rndw32.c
diff options
context:
space:
mode:
Diffstat (limited to 'random/rndw32.c')
-rw-r--r--random/rndw32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random/rndw32.c b/random/rndw32.c
index 4ab1bca3..1325b18b 100644
--- a/random/rndw32.c
+++ b/random/rndw32.c
@@ -513,7 +513,7 @@ slow_gatherer ( void (*add)(const void*, size_t, enum random_origins),
status = RegQueryValueEx (hKey, "ProductType", 0, NULL,
szValue, &dwSize);
- if (status == ERROR_SUCCESS && stricmp (szValue, "WinNT"))
+ if (status == ERROR_SUCCESS && stricmp ((char*)szValue, "WinNT"))
{
/* Note: There are (at least) three cases for ProductType:
WinNT = NT Workstation, ServerNT = NT Server, LanmanNT =