diff options
| author | Paul Duncan <pabs@pablotron.org> | 2016-08-28 03:54:39 -0400 | 
|---|---|---|
| committer | Paul Duncan <pabs@pablotron.org> | 2016-08-28 03:54:39 -0400 | 
| commit | 5d8106b969b9f6c2d530eb3c32c0065c5f5b0e35 (patch) | |
| tree | 3e6619414cf30a7f58c0b4e017284d195d86909c | |
| parent | 4d9af2534e3424357276028b1fa82eb49c2dfd99 (diff) | |
| download | libfhp-5d8106b969b9f6c2d530eb3c32c0065c5f5b0e35.tar.xz libfhp-5d8106b969b9f6c2d530eb3c32c0065c5f5b0e35.zip  | |
fix warnings from clang
| -rw-r--r-- | cl-parser.c | 2 | ||||
| -rw-r--r-- | include/fhp/fhp.h | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/cl-parser.c b/cl-parser.c index 83863c5..31e1c74 100644 --- a/cl-parser.c +++ b/cl-parser.c @@ -139,7 +139,7 @@ fhp_cl_parser_done(      return p->err;    // set state -  p->state = FHP_TE_STATE_DONE; +  p->state = FHP_CL_STATE_DONE;    // save number of tes    if (ret_val) diff --git a/include/fhp/fhp.h b/include/fhp/fhp.h index 2739bc9..7f5d66f 100644 --- a/include/fhp/fhp.h +++ b/include/fhp/fhp.h @@ -1,4 +1,4 @@ -#ifndef FHP_H_ +#ifndef FHP_H  #define FHP_H  #include <stdint.h> // for uint8_t @@ -110,7 +110,7 @@ typedef enum {  // env functions  // -#define FHP_ENV_NUM_HASHES 6 +#define FHP_ENV_NUM_HASHES 17  typedef struct {    uint32_t hashes[FHP_ENV_NUM_HASHES];  | 
