This patch makes two very minor changes to please gcc 4.7. The
CopyData function no longer exists and this has been replaced. For
some reason previous versions of gcc did not complain on the const
char casting not having an implementation, but this is now addressed.
break;
case 's': {
- const char *s = (const char *)args;
+ const char *s = (char *)args;
if (!s)
s = "<NULL>";
template <class T>
operator T *() {
T *buf = (T *)data->alloc(sizeof(T));
- CopyData(tc, buf, getArg(sizeof(T)), sizeof(T));
+ CopyOut(tc, buf, getArg(sizeof(T)), sizeof(T));
return buf;
}