$NetBSD: patch-ak,v 1.1.1.1 2009/08/05 02:59:48 tnn Exp $ --- toolkit/components/places/src/nsMorkHistoryImporter.cpp.orig 2009-06-29 18:15:22.000000000 +0200 +++ toolkit/components/places/src/nsMorkHistoryImporter.cpp @@ -148,9 +148,12 @@ AddToHistoryCB(const nsCSubstring &aRowI } PRTime date; - if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &date) != 1) { + long long ld; + if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &ld) != 1) { date = -1; - } + } else { + date = ld; + } PRBool isTyped = values[kTypedColumn].EqualsLiteral("1"); PRInt32 transition = isTyped ?