From e0fa342a42dbf21668bc923a0abd8261d203b95a Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 8 Jul 2013 23:38:11 +0000 Subject: Get rid of a warning about integer truncation git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85918 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/peopsxgl/soft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/peopsxgl/soft.c b/plugins/peopsxgl/soft.c index 829593c5..21fe4b09 100755 --- a/plugins/peopsxgl/soft.c +++ b/plugins/peopsxgl/soft.c @@ -1212,7 +1212,7 @@ static __inline int shl10idiv(int x, int y) { long long int bi=x; bi<<=10; - return bi/y; + return (int)(bi/y); } #endif -- cgit v1.2.3