diff options
Diffstat (limited to 'sharedbook.c')
-rw-r--r-- | sharedbook.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sharedbook.c b/sharedbook.c index b78f668..a62211e 100644 --- a/sharedbook.c +++ b/sharedbook.c @@ -316,7 +316,8 @@ static ogg_uint32_t bitreverse(ogg_uint32_t x){ } static int sort32a(const void *a,const void *b){ - return ( (**(ogg_uint32_t **)a>**(ogg_uint32_t **)b)<<1)-1; + return (**(ogg_uint32_t **)a>**(ogg_uint32_t **)b)- + (**(ogg_uint32_t **)a<**(ogg_uint32_t **)b); } /* decode codebook arrangement is more heavily optimized than encode */ |