Bug 895931 - Follow up: avoid long overflow. r=trivial, a=bajaj
authorRichard Newman <rnewman@mozilla.com>
Tue, 23 Jul 2013 12:25:56 -0700
changeset 143658 f61ece780449699328c5403ffc0eafe697dcf5fc
parent 143657 615758994f36c39f68f3bad5af5d38ff626496fc
child 143659 7443408ae2355436fe9eb45af0444886786d40f7
push id4029
push userrnewman@mozilla.com
push dateWed, 24 Jul 2013 22:47:12 +0000
treeherdermozilla-aurora@f61ece780449 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial, bajaj
bugs895931
milestone24.0a2
Bug 895931 - Follow up: avoid long overflow. r=trivial, a=bajaj
mobile/android/base/background/common/GlobalConstants.java.in
--- a/mobile/android/base/background/common/GlobalConstants.java.in
+++ b/mobile/android/base/background/common/GlobalConstants.java.in
@@ -17,18 +17,18 @@ public class GlobalConstants {
   // Otherwise, it means 'dev'.
   public static final String MOZ_UPDATE_CHANNEL = "@MOZ_UPDATE_CHANNEL@";
 #ifdef MOZ_OFFICIAL_BRANDING
   public static final boolean MOZ_OFFICIAL_BRANDING = true;
 #else
   public static final boolean MOZ_OFFICIAL_BRANDING = false;
 #endif
 
-  public static final long BUILD_TIMESTAMP_SECONDS = @MOZ_BUILD_TIMESTAMP@;
-  public static final long BUILD_TIMESTAMP_MSEC = 1000 * @MOZ_BUILD_TIMESTAMP@;
+  public static final long BUILD_TIMESTAMP_SECONDS = @MOZ_BUILD_TIMESTAMP@L;
+  public static final long BUILD_TIMESTAMP_MSEC = 1000L * @MOZ_BUILD_TIMESTAMP@L;
 
   public static final String MOZ_APP_DISPLAYNAME = "@MOZ_APP_DISPLAYNAME@";
   public static final String MOZ_APP_VERSION = "@MOZ_APP_VERSION@";
   public static final String BROWSER_INTENT_PACKAGE = "@ANDROID_PACKAGE_NAME@";
   public static final String BROWSER_INTENT_CLASS = BROWSER_INTENT_PACKAGE + ".App";
 
   /**
    * Bug 800244: this signing-level permission protects broadcast intents that