mirror of https://github.com/axmolengine/axmol.git
- The result comes across as negative.(device android)
This commit is contained in:
parent
d7cb7676bc
commit
853e083c68
|
@ -265,7 +265,7 @@ long long getTimeInMilliseconds()
|
|||
{
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, nullptr);
|
||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
return (long long)tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
}
|
||||
|
||||
Rect getCascadeBoundingBox(Node *node)
|
||||
|
|
Loading…
Reference in New Issue