http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a246bea
)
ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs.
author
Michael Stefaniuc
<mstefani@redhat.de>
Tue, 27 Jul 2010 08:17:50 +0000
(10:17 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 28 Jul 2010 10:22:26 +0000
(12:22 +0200)
dlls/ntdll/tests/rtlstr.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ntdll/tests/rtlstr.c
b/dlls/ntdll/tests/rtlstr.c
index 5dd35008d5d94eebf3338b832140ef5fabdd177a..91233a5a5f28eb4f37abf4ad1e207330c76b4177 100644
(file)
--- a/
dlls/ntdll/tests/rtlstr.c
+++ b/
dlls/ntdll/tests/rtlstr.c
@@
-1841,7
+1841,7
@@
static void test_RtlGUIDFromString(void)
ret = pRtlGUIDFromString(&str, &guid);
ok(ret == 0, "expected ret=0, got 0x%0x\n", ret);
- ok(
memcmp(&guid, &IID_Endianess, sizeof(guid)) == 0
, "Endianess broken\n");
+ ok(
IsEqualGUID(&guid, &IID_Endianess)
, "Endianess broken\n");
str.Length = str.MaximumLength = sizeof(szGuid2) - sizeof(WCHAR);
str.Buffer = (LPWSTR)szGuid2;