Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-01 21:48:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-01 22:00:01 +0400
commitc99d3e2e6c370e366a32b1c0caa2b9dfc8ad5bd1 (patch)
tree700d432d73ca22bdc7f066f787f35a76dabd8814 /tests/tiny_psnr.c
parent98b0120668a87837475cc9991eb627165bc28508 (diff)
tiny_psnr: fix undefined shift
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/tiny_psnr.c')
-rw-r--r--tests/tiny_psnr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c
index b4d05d300d..b912061310 100644
--- a/tests/tiny_psnr.c
+++ b/tests/tiny_psnr.c
@@ -129,7 +129,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes)
uint64_t dev;
uint8_t buf[2][SIZE];
uint64_t psnr;
- int64_t max = (1 << (8 * len)) - 1;
+ int64_t max = (1LL << (8 * len)) - 1;
int size0 = 0;
int size1 = 0;
int maxdist = 0;