mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
tackeled some warnings
This commit is contained in:
@ -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 *
|
||||
*******************/
|
||||
|
@ -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;
|
||||
|
||||
|
@ -140,7 +140,7 @@ void detect_file_args(char **argv, u8 *prog_in, u8 *use_stdin) {
|
||||
|
||||
char **argv_cpy_dup(int argc, char **argv) {
|
||||
|
||||
u32 i = 0;
|
||||
int i = 0;
|
||||
|
||||
char **ret = ck_alloc((argc + 1) * sizeof(char *));
|
||||
|
||||
|
Reference in New Issue
Block a user