gnucash master: Fix wrong PWARN calling signature.
John Ralls
jralls at code.gnucash.org
Tue Jul 12 12:57:15 EDT 2016
Updated via https://github.com/Gnucash/gnucash/commit/01c21da3 (commit)
from https://github.com/Gnucash/gnucash/commit/c11185e9 (commit)
commit 01c21da3234ba637f57cc4b18eb069ef2bcc7aa9
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jul 12 16:57:01 2016 +0000
Fix wrong PWARN calling signature.
diff --git a/src/libqof/qof/gnc-timezone.cpp b/src/libqof/qof/gnc-timezone.cpp
index 18b981a..b2daf69 100644
--- a/src/libqof/qof/gnc-timezone.cpp
+++ b/src/libqof/qof/gnc-timezone.cpp
@@ -178,7 +178,7 @@ zone_from_regtzi (const RegTZI& regtzi, time_zone_names names)
regtzi.DaylightBias << " Standard Month : " <<
regtzi.StandardDate.wMonth << " Daylight Month: " <<
regtzi.DaylightDate.wMonth << "\n";
- PWARN(str.str().c_str());
+ PWARN("%s", str.str().c_str());
}
}
return TZ_Ptr(new time_zone(names, std_off, offsets, dates));
Summary of changes:
src/libqof/qof/gnc-timezone.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list