work round compiler bug

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-10-04 19:16:32 +00:00
parent 2fc494c446
commit 0d0c1d346c

View file

@ -91,7 +91,7 @@ int con_data (id prx)
double dbl, dblr;
char *str;
id obj;
small_struct small = {12};
small_struct ss = {12};
foo ffoo = {'Z', 1234.5678, 99, "cow", 9876543};
foo bck;
@ -204,12 +204,12 @@ int con_data (id prx)
pool = [NSAutoreleasePool new];
printf("Small Struct:\n");
//printf(" sending %x", small.z);
//small = [prx sendSmallStruct: small];
//printf(" got %x\n", small.z);
printf(" sending ptr to %x", small.z);
[prx getSmallStruct: &small];
printf(" got %x\n", small.z);
//printf(" sending %x", ss.z);
//ss = [prx sendSmallStruct: ss];
//printf(" got %x\n", ss.z);
printf(" sending ptr to %x", ss.z);
[prx getSmallStruct: &ss];
printf(" got %x\n", ss.z);
[pool release];
#if 1 || !defined(__MINGW32__)