NSEC_PER_SEC is an unsigned integer macro. Thus, -NSEC_PER_SEC will be treated as unsigned integer as well which lead to calculation error on 64bits integer variables. Added the correct type casting into the formula to fix the calculation error. Signed-off-by: Kweh Hock Leong <hock.leong.kweh@intel.com> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||