From 84998aa43c618e6cc5fa866aa31fbb901430c3bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Fri, 1 Aug 2014 23:35:38 +0200 Subject: [PATCH] Fix qualifiers in check_for_marker() --- libhpcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhpcs.c b/libhpcs.c index d972f43..302dc44 100644 --- a/libhpcs.c +++ b/libhpcs.c @@ -228,7 +228,7 @@ static enum HPCS_ParseCode autodetect_file_type(FILE* datafile, enum HPCS_FileTy return PARSE_OK; } -static enum HPCS_DataCheckCode check_for_marker(const char* const segment, size_t* const next_marker_idx) +static enum HPCS_DataCheckCode check_for_marker(const char* segment, size_t* const next_marker_idx) { if (segment[0] == BIN_MARKER_A && segment[1] != BIN_MARKER_END) { *next_marker_idx += (uint8_t)segment[1] + 1; -- 2.43.5