diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-10-07 16:44:42 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-10-07 16:44:42 +0000 |
| commit | c73ee1b920933964373d1ea3df89251a870fca74 (patch) | |
| tree | 50b3cdb85262fa8d4328805a078b0adcd00163f1 /plugins/dfnet | |
| parent | 956e58158d94e343cbaa83abfc314daa94bdee12 (diff) | |
| download | pcsxr-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-x | plugins/dfnet/unix.c | 2 |
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; } |
