mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Tidied again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5112 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc62f44ad3
commit
6b14ba31f0
1 changed files with 8 additions and 2 deletions
|
@ -613,8 +613,14 @@
|
|||
Hopefully there is a more general way to figure this out */
|
||||
size = (size<sizeof(int))?4:size;
|
||||
#endif
|
||||
NSLog(@"Unsafe handling of type of %d argument.", i-1];
|
||||
memcpy(datum, (char)va_arg(ap, int), copysize);
|
||||
NSLog(@"Unsafe handling of type of %d argument.", i-1);
|
||||
memcpy(datum, ap, size);
|
||||
{
|
||||
struct {
|
||||
char x[size];
|
||||
} dummy;
|
||||
dummy = va_arg(ap, typeof(dummy));
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue