From: Michal MalĂ˝ Date: Fri, 1 Aug 2014 21:35:38 +0000 (+0200) Subject: Fix qualifiers in check_for_marker() X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=84998aa43c618e6cc5fa866aa31fbb901430c3bc;p=libHPCS.git Fix qualifiers in check_for_marker() --- 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;