fixed 64 bit issue with print time
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user