Commit e6ca322f authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

rpcrt4/tests: Cast to ULONGLONG instead of LONGLONG to avoid shift overflow.

parent c49e9d08
......@@ -965,7 +965,7 @@ static void test_simple_struct(void)
s1.c = 0xa5;
s1.l1 = 0xdeadbeef;
s1.l2 = 0xcafebabe;
s1.ll = ((LONGLONG) 0xbadefeed << 32) | 0x2468ace0;
s1.ll = ((ULONGLONG) 0xbadefeed << 32) | 0x2468ace0;
wiredatalen = 24;
memcpy(wiredata, &s1, wiredatalen);
......
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