summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 23:38:11 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 23:38:11 +0000
commite0fa342a42dbf21668bc923a0abd8261d203b95a (patch)
treeaeb7a6cf5b5a69b7fcbbe27ba9e8eeffdb7a7fc1 /plugins
parent2b8ba2c882c831e71956dcaef175cde2670ee6b5 (diff)
downloadpcsxr-e0fa342a42dbf21668bc923a0abd8261d203b95a.tar.gz
Get rid of a warning about integer truncation
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85918 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/peopsxgl/soft.c2
1 files changed, 1 insertions, 1 deletions
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