mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
tweak config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d86cd7382b
commit
39b14aa9d6
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
int main ()
|
||||
{
|
||||
char buf[12];
|
||||
char buf[32];
|
||||
char *ptr = buf;
|
||||
short sval = 4;
|
||||
int ival = 3;
|
||||
|
@ -19,8 +19,8 @@ int main ()
|
|||
ptr++;
|
||||
}
|
||||
*(short *)ptr = sval;
|
||||
*(int *)ptr = ival;
|
||||
ptr[0] = 0;
|
||||
*(int *)(ptr + sizeof(short)) = ival;
|
||||
ptr[sizeof(short) + sizeof(int)] = 0;
|
||||
puts (ptr); /* force compiler not to optimise out the above assignments */
|
||||
exit (0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue