Browse code

minor change to remove warning and testin git pre-commit hook.

Micah Snyder authored on 2017/08/10 04:42:08
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- *  Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
2
+ *  Copyright (C) 2015-2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
3 3
  *  Copyright (C) 2007-2008 Sourcefire, Inc.
4 4
  *
5 5
  *  Authors: Alberto Wu, Tomasz Kojm
... ...
@@ -2216,7 +2216,8 @@ static inline int hash_impfns(cli_ctx *ctx, void **hashctx, uint32_t *impsz, str
2216 2216
     uint32_t thuoff = 0, offset;
2217 2217
     fmap_t *map = *ctx->fmap;
2218 2218
     size_t dlllen = 0, fsize = map->len;
2219
-    int i, j, err = 0, num_fns = 0, ret = CL_SUCCESS;
2219
+    unsigned int err = 0;
2220
+    int i, j, num_fns = 0, ret = CL_SUCCESS;
2220 2221
     const char *buffer;
2221 2222
     enum CLI_HASH_TYPE type;
2222 2223
 #if HAVE_JSON