summaryrefslogtreecommitdiff
path: root/plugins/dfnet
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-07 16:44:42 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-07 16:44:42 +0000
commitc73ee1b920933964373d1ea3df89251a870fca74 (patch)
tree50b3cdb85262fa8d4328805a078b0adcd00163f1 /plugins/dfnet
parent956e58158d94e343cbaa83abfc314daa94bdee12 (diff)
downloadpcsxr-c73ee1b920933964373d1ea3df89251a870fca74.tar.gz
plug-ins: Quiet some 64-bit to 32-bit warnings on 64-bit OSes, specifically OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91796 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfnet')
-rwxr-xr-xplugins/dfnet/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfnet/unix.c b/plugins/dfnet/unix.c
index b965bebc..840eb6a9 100755
--- a/plugins/dfnet/unix.c
+++ b/plugins/dfnet/unix.c
@@ -57,7 +57,7 @@ int sockPing() {
RECV(data, 32, PSE_NET_BLOCKING);
gettimeofday(&tvn, NULL);
- return (tvn.tv_sec - tv.tv_sec) * 1000 +
+ return (int)(tvn.tv_sec - tv.tv_sec) * 1000 +
(tvn.tv_usec - tv.tv_usec) / 1000;
}