Francois Gouget : rsabase/tests: Remove unneeded casts.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 4 04:45:11 CST 2007
Module: wine
Branch: master
Commit: c3ddf0a1484eedb8490f1eb09736fc8575bdfdca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3ddf0a1484eedb8490f1eb09736fc8575bdfdca
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Jan 4 10:51:38 2007 +0100
rsabase/tests: Remove unneeded casts.
---
dlls/rsabase/tests/rsabase.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/rsabase/tests/rsabase.c b/dlls/rsabase/tests/rsabase.c
index 089e9ca..b7746b1 100644
--- a/dlls/rsabase/tests/rsabase.c
+++ b/dlls/rsabase/tests/rsabase.c
@@ -39,13 +39,13 @@ static int init_environment(void)
{
if(!CryptAcquireContext(&hProv, szContainer, szProvider, PROV_RSA_FULL, CRYPT_NEWKEYSET))
{
- trace("%08x\n", (unsigned int)GetLastError());
+ trace("%08x\n", GetLastError());
return 0;
}
}
else
{
- trace("%08x\n", (unsigned int)GetLastError());
+ trace("%08x\n", GetLastError());
return 0;
}
}
@@ -67,10 +67,10 @@ static void test_gen_random(void)
memset(rnd2, 0, sizeof(rnd2));
result = CryptGenRandom(hProv, sizeof(rnd1), rnd1);
- ok(result, "%08x\n", (unsigned int)GetLastError());
+ ok(result, "%08x\n", GetLastError());
result = CryptGenRandom(hProv, sizeof(rnd2), rnd2);
- ok(result, "%08x\n", (unsigned int)GetLastError());
+ ok(result, "%08x\n", GetLastError());
ok(memcmp(rnd1, rnd2, sizeof(rnd1)), "CryptGenRandom generates non random data\n");
}
More information about the wine-cvs
mailing list