mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-18 18:32:32 +00:00
fix a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2de3fec61c
commit
6624602197
@ -1,6 +1,4 @@
|
||||
// RUN: %llvmgcc %s -S -o -
|
||||
// XFAIL: *
|
||||
// See PR2452
|
||||
|
||||
#pragma pack(push, 2)
|
||||
struct H {
|
||||
@ -28,12 +26,12 @@ extern long bork(FuncPtr handler, const struct E *list);
|
||||
|
||||
static long hndlr()
|
||||
{
|
||||
struct H cmd = { 4, 'fart' };
|
||||
struct H cmd = { 4, 412 };
|
||||
return 0;
|
||||
}
|
||||
void foo(void *inWindow) {
|
||||
static const struct E events[] = {
|
||||
{ 'cmds', 1 }
|
||||
{ 123124, 1 }
|
||||
};
|
||||
bork(hndlr, events);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user