]>
git.wh0rd.org - ICEs.git/blob - 290097/test.c
3 typedef unsigned char u8
;
4 typedef unsigned short u16
;
9 } __attribute__((packed
));
11 void some_function(int x
);
13 void other_function(const struct s
*pointer
)
16 const u8
*ptr
= (const u8
*)(pointer
);
18 for (unsigned int i
= 0; i
< 7; ++i
)
19 printf("%x\n", ptr
[i
]);
20 // checksum = (checksum + ptr[i]) & 0xFF;
22 printf("%x\n", checksum
);
23 // some_function((int)checksum);
27 printf("%lu\n", sizeof(struct s
));