зеркало из https://github.com/mozilla/gecko-dev.git
Bug 562457 - comparison between signed and unsigned integer expressions in nsGeolocationRequest::Allow, r=dholbert
This commit is contained in:
Родитель
62a31492f2
Коммит
2f5d8a90a7
|
@ -277,7 +277,7 @@ nsGeolocationRequest::Allow()
|
|||
}
|
||||
|
||||
if (lastPosition && maximumAge > 0 &&
|
||||
( (PR_Now() / PR_USEC_PER_MSEC) - maximumAge <=
|
||||
( PRTime(PR_Now() / PR_USEC_PER_MSEC) - maximumAge <=
|
||||
PRTime(cachedPositionTime) )) {
|
||||
// okay, we can return a cached position
|
||||
mAllowed = PR_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче