summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-bug784776
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-bug784776')
-rw-r--r--www/firefox-esr/files/patch-bug78477622
1 files changed, 22 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-bug784776 b/www/firefox-esr/files/patch-bug784776
new file mode 100644
index 000000000000..2036b3d441e3
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug784776
@@ -0,0 +1,22 @@
+--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~
++++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp
+@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr
+ struct tm *tmc;
+ int i;
+
+- tt = time((time_t)NULL);
++ tt = time(NULL);
+ tmc = localtime(&tt);
+
+ tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM
+--- xpcom/glue/nsBaseHashtable.h~
++++ xpcom/glue/nsBaseHashtable.h
+@@ -147,7 +147,7 @@ public:
+ {
+ EntryType* ent = this->GetEntry(aKey);
+ if (!ent)
+- return NULL;
++ return 0;
+
+ return ent->mData;
+ }