mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix for timeval on OSX.
This commit is contained in:
committed by
Darryl Pogue
parent
ba1d7c3ae1
commit
70d037353f
@ -448,7 +448,7 @@ plUnifiedTime::operator timeval() const
|
|||||||
// tv_secs should be a time_t, but on Windows it is a long
|
// tv_secs should be a time_t, but on Windows it is a long
|
||||||
struct timeval t = {(long)fSecs, (long)fMicros};
|
struct timeval t = {(long)fSecs, (long)fMicros};
|
||||||
#else
|
#else
|
||||||
struct timeval t = {fSecs, fMicros};
|
struct timeval t = {fSecs, (suseconds_t)fMicros};
|
||||||
#endif
|
#endif
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user