ogg_afh_common: Fix signedness issue.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 6 Jun 2019 06:28:58 +0000 (08:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 6 Jun 2019 06:28:58 +0000 (08:28 +0200)
ogg_afh_common.c

index 4fc3795..12a1520 100644 (file)
@@ -125,8 +125,8 @@ int oac_get_file_info(char *map, size_t numbytes, struct afh_info *afhi,
        ogg_page op;
        char *buf;
        int ret, i, j, frames_per_chunk, ct_size, prev_pageno = 0;
-       long long unsigned granule = 0, granule_skip = 0, num_frames = 0;
-       int64_t prev_granule = 0;
+       long long unsigned granule_skip = 0, num_frames = 0;
+       int64_t granule = 0, prev_granule = 0;
 
        ogg_sync_init(&oss);
        ret = -E_OGG_SYNC;