]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Fix qualifiers in check_for_marker()
authorMichal Malý <madcatxster@devoid-pointer.net>
Fri, 1 Aug 2014 21:35:38 +0000 (23:35 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Fri, 1 Aug 2014 21:35:38 +0000 (23:35 +0200)
libhpcs.c

index d972f433104904a392900b4b603ad72186fbd7e1..302dc440525ec706077610b82e4d0df129101197 100644 (file)
--- 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;