diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-20 15:13:05 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-20 15:13:05 +0000 |
commit | 2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb (patch) | |
tree | 4d9dfc6dafbc529d13580401f5ddc8896d568e14 /src/libstrongswan/printf_hook.c | |
parent | 4305c488ed5a2d61c04c37bf2619e40a4164a421 (diff) | |
download | strongswan-2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb.tar.bz2 strongswan-2f5914a343ec6b7f2543a22c0a64abd6ab97c5bb.tar.xz |
fixed 64 bit issue with print time
Diffstat (limited to 'src/libstrongswan/printf_hook.c')
-rw-r--r-- | src/libstrongswan/printf_hook.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstrongswan/printf_hook.c b/src/libstrongswan/printf_hook.c index e4089c4ff..0407e8c82 100644 --- a/src/libstrongswan/printf_hook.c +++ b/src/libstrongswan/printf_hook.c @@ -35,6 +35,19 @@ int arginfo_ptr(const struct printf_info *info, size_t n, int *argtypes) } /** + * 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 */ int arginfo_ptr_int(const struct printf_info *info, size_t n, int *argtypes) |