fixed 64 bit issue with print time

This commit is contained in:
Andreas Steffen
2007-01-20 15:13:05 +00:00
parent 4305c488ed
commit 2f5914a343
5 changed files with 39 additions and 24 deletions
+13
View File
@@ -34,6 +34,19 @@ int arginfo_ptr(const struct printf_info *info, size_t n, int *argtypes)
return 1;
}
/**
* arginfo handler for two prt arguments
*/
int arginfo_ptr_ptr(const struct printf_info *info, size_t n, int *argtypes)
{
if (n > 1)
{
argtypes[0] = PA_POINTER;
argtypes[1] = PA_POINTER;
}
return 2;
}
/**
* arginfo handler for one ptr, one int
*/