diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-07-13 16:21:02 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-07-13 16:22:14 +0200 |
commit | 3c5bd6bcd871b2cdaa22ff810823f2c5a9cfeb0d (patch) | |
tree | a5bb39420351be8c95cd684e42b3e5450cce30f7 | |
parent | bf9232fb613b33f178e8409be42290977f243255 (diff) |
bpf: Use iterator variable of correct type
array_size() returns size_t, thus make i size_t too to avoid a warning
regarding comparison of signed/unsigned.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ static const char *op_table[] = { void bpf_dump_op_table(void) { - int i; + size_t i; for (i = 0; i < array_size(op_table); ++i) { if (op_table[i]) printf("%s\n", op_table[i]); |