Skip to content

Commit 04b02ca

Browse files
Merge pull request #1532 from bratpiorka/rrudnick_fix_warnings
fix -Wpedantic warnings
2 parents 9cf8e64 + 8e71257 commit 04b02ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ctl/ctl_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ struct ctl_argument_parser {
7575
};
7676

7777
struct ctl_argument {
78-
size_t dest_size; /* size of the entire argument */
79-
struct ctl_argument_parser parsers[]; /* array of 'fields' in arg */
78+
size_t dest_size; /* size of the entire argument */
79+
struct ctl_argument_parser parsers[8]; /* array of 'fields' in arg */
8080
};
8181

8282
#define sizeof_member(type, member) sizeof(((type *)0)->member)

src/pool/pool_disjoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "utils_log.h"
2828
#include "utils_math.h"
2929

30-
static char *DEFAULT_NAME = "disjoint";
30+
static const char *DEFAULT_NAME = "disjoint";
3131

3232
/* Disjoint pool CTL implementation */
3333
struct ctl disjoint_ctl_root;

0 commit comments

Comments
 (0)