diff options
author | Mattias Andrée <maandree@kth.se> | 2021-12-10 21:29:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-12-10 21:29:55 +0100 |
commit | 2aec72784b4aa9e9b62ebed77cd56306de27da40 (patch) | |
tree | 7850be0f08efa678ac89bd30706b345470afea21 | |
parent | Fix warnings (diff) | |
download | liberror-libc-2aec72784b4aa9e9b62ebed77cd56306de27da40.tar.gz liberror-libc-2aec72784b4aa9e9b62ebed77cd56306de27da40.tar.bz2 liberror-libc-2aec72784b4aa9e9b62ebed77cd56306de27da40.tar.xz |
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | internal.h | 1 | ||||
-rw-r--r-- | llabs.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ #include <errno.h> #include <fcntl.h> #include <inttypes.h> +#include <limits.h> #include <signal.h> #include <stdlib.h> #include <string.h> @@ -21,7 +21,7 @@ liberror_llabs(long long int i) if (i != LLONG_MIN) return llabs(i); liberror_save_backtrace(NULL); - liberror_llabs(i); + liberror_llabs_failed(i); return i; #endif } |