diff options
author | lns <matzeton@googlemail.com> | 2023-05-26 11:17:38 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-05-26 11:17:38 +0200 |
commit | 8a936a507271b727f7b0907a20fbddbe85bb725e (patch) | |
tree | fc5d940c747ea965884e60275eafda32ae5823b5 /config.h | |
parent | c9514136b7c4246a57b85474d1a8e376a9009d4a (diff) |
Fixed integer overflow for tcp timeout (>INT_MAX).
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ #define NETWORK_BUFFER_LENGTH_DIGITS 5u #define NETWORK_BUFFER_LENGTH_DIGITS_STR "5" -#define TIME_S_TO_US(s) (s * 1000u * 1000u) +#define TIME_S_TO_US(s) (s * 1000llu * 1000llu) /* nDPId default config options */ #define nDPId_PIDFILE "/tmp/ndpid.pid" |