diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2008-12-12 21:16:01 +0300 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2008-12-12 21:16:01 +0300 |
commit | 155c05fb69280cc6a59ed19bb2f6c2bd9b5f29de (patch) | |
tree | bf3c6a1cea31f3978620391c17f704f2cb8b3597 /include/zbxtypes.h | |
parent | 2688ae1bed6ec1d939ce5cabd54c9338e03aa85f (diff) |
- [DEV-274] added overflow check for uint64 for incoming values
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 6021487db04..d3fb788d8f7 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -33,7 +33,6 @@ # define ZBX_FS_UI64 "%I64u" # define ZBX_FS_UO64 "%I64o" # define ZBX_FS_UX64 "%I64x" -# define ZBX_FS_UI64_NO(n) "%"#n"$I64u" # define zbx_pid_t int @@ -62,19 +61,16 @@ # define ZBX_FS_UI64 "%lu" # define ZBX_FS_UO64 "%lo" # define ZBX_FS_UX64 "%lx" -# define ZBX_FS_UI64_NO(n) "%"#n"$lu" # define ZBX_OFFSET 10000000000000000UL # else /* __WORDSIZE == 64 */ # ifdef HAVE_LONG_LONG_QU # define ZBX_FS_UI64 "%qu" # define ZBX_FS_UO64 "%qo" # define ZBX_FS_UX64 "%qx" -# define ZBX_FS_UI64_NO(n) "%"#n"$qu" # else # define ZBX_FS_UI64 "%llu" # define ZBX_FS_UO64 "%llo" # define ZBX_FS_UX64 "%llx" -# define ZBX_FS_UI64_NO(n) "%"#n"$llu" # endif # define ZBX_OFFSET 10000000000000000ULL # endif /* __WORDSIZE == 64 */ |