]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blob - patches/patch-ej
Initial revision of the upstream www/firefox3
[pkgsrc-firefox3.git] / patches / patch-ej
1 $NetBSD: patch-ej,v 1.1 2009/01/05 09:58:36 martin Exp $
2
3 --- toolkit/components/places/src/nsMorkHistoryImporter.cpp.orig        2008-03-19 20:30:49.000000000 +0100
4 +++ toolkit/components/places/src/nsMorkHistoryImporter.cpp     2008-12-17 09:38:05.000000000 +0100
5 @@ -148,9 +148,12 @@ AddToHistoryCB(const nsCSubstring &aRowI
6      }
7  
8      PRTime date;
9 -    if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &date) != 1) {
10 +    long long ld;
11 +    if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &ld) != 1) {
12        date = -1;
13 -    }
14 +    } else {
15 +      date = ld;
16 +   }
17  
18      PRBool isTyped = values[kTypedColumn].EqualsLiteral("1");
19      PRInt32 transition = isTyped ?