From 427d5fa65c57cdad69a29e9a104617ead6a7930d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 9 Aug 1998 15:45:16 +0200 Subject: [PATCH] Fixed warning. Rev: src/modules/Image/encodings/png.c:1.20 --- src/modules/Image/encodings/png.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/Image/encodings/png.c b/src/modules/Image/encodings/png.c index 4044bd5ac2..f494ec2c23 100644 --- a/src/modules/Image/encodings/png.c +++ b/src/modules/Image/encodings/png.c @@ -1,5 +1,5 @@ #include "global.h" -RCSID("$Id: png.c,v 1.19 1998/07/12 21:14:12 grubba Exp $"); +RCSID("$Id: png.c,v 1.20 1998/08/09 13:45:16 grubba Exp $"); #include "config.h" @@ -72,10 +72,10 @@ static INLINE COLORTYPE _png_c16(unsigned long z,int bpp) { switch (bpp) { - case 16: return z>>8; break; - case 4: return z*17; break; - case 2: return z*0x55; break; - case 1: return z*255; break; + case 16: return z>>8; + case 4: return z*17; + case 2: return z*0x55; + case 1: return z*255; default: return z; } -- GitLab