From 5d8106b969b9f6c2d530eb3c32c0065c5f5b0e35 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 28 Aug 2016 03:54:39 -0400 Subject: fix warnings from clang --- cl-parser.c | 2 +- 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 // 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]; -- cgit v1.2.3