diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-10 20:57:46 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-10 20:57:46 +0200 |
commit | d928b148d86fcd1e7f26dc265029a36b14c3c1d4 (patch) | |
tree | 0a6db88d137810ffbf009cdd4b4a621e50e96231 /include | |
parent | 3209a9d4e88f09790e073af7fa90914a25e150c4 (diff) | |
download | afl++-d928b148d86fcd1e7f26dc265029a36b14c3c1d4.tar.gz |
tackeled some warnings
Diffstat (limited to 'include')
-rw-r--r-- | include/debug.h | 9 | ||||
-rw-r--r-- | include/list.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/debug.h b/include/debug.h index ff2845f9..8824ff6b 100644 --- a/include/debug.h +++ b/include/debug.h @@ -28,6 +28,15 @@ #include "types.h" #include "config.h" +/* __FUNCTION__ is non-iso */ +#ifndef __FUNCTION__ +#ifdef __func__ +#define __FUNCTION__ __func__ +#else +#define __FUNCTION__ "func_unknown" +#endif +#endif + /******************* * Terminal colors * *******************/ diff --git a/include/list.h b/include/list.h index e93b4e8f..bb985c4f 100644 --- a/include/list.h +++ b/include/list.h @@ -50,7 +50,7 @@ typedef struct list_element { typedef struct list { element_t element_prealloc_buf[LIST_PREALLOC_SIZE]; - u32 element_prealloc_count; + s32 element_prealloc_count; } list_t; |