Commit 8e3b43d9 authored by Daniel Holbert's avatar Daniel Holbert
Browse files

Bug 604158: Fix build warning in nsGeolocation.cpp "comparison between signed...

Bug 604158: Fix build warning in nsGeolocation.cpp "comparison between signed and unsigned integer expressions". r=dougt a=dougt
parent 0b7c60ca
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -759,7 +759,7 @@ nsGeolocationService::StartDevice()
  if (!obs)
    return NS_ERROR_FAILURE;

  for (PRUint32 i = 0; i < mProviders.Count(); i++) {
  for (PRInt32 i = 0; i < mProviders.Count(); i++) {
    mProviders[i]->Startup();
    mProviders[i]->Watch(this);
    obs->NotifyObservers(mProviders[i],
@@ -803,7 +803,7 @@ nsGeolocationService::StopDevice()
  if (!obs)
    return;

  for (PRUint32 i = 0; i <mProviders.Count(); i++) {
  for (PRInt32 i = 0; i < mProviders.Count(); i++) {
    mProviders[i]->Shutdown();
    obs->NotifyObservers(mProviders[i],
                         "geolocation-device-events",