mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Global: Fix some type conversion warnings.
Hidden by some warning disables.
This commit is contained in:
1 parent
5e185f3d87
commit
3df6cb704f
18 files changed
+41
-39
No files matched your search
@@ -83,8 +83,8 @@ size_t Write(int fd, const std::string &str) {
|
||||
|
||||
bool WaitUntilReady(int fd, double timeout, bool for_write) {
|
||||
struct timeval tv;
|
||||
tv.tv_sec = floor(timeout);
|
||||
tv.tv_usec = (timeout - floor(timeout)) * 1000000.0;
|
||||
tv.tv_sec = (long)floor(timeout);
|
||||
tv.tv_usec = (long)((timeout - floor(timeout)) * 1000000.0);
|
||||
|
||||
fd_set fds;
|
||||
FD_ZERO(&fds);
|
||||
|
||||
Reference in new issue
Block a user