aboutsummaryrefslogtreecommitdiff
path: root/src/Resources.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-09-30 19:05:02 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-09-30 19:05:02 (GMT)
commitf8c61a1ba2cc5fc08690b89440cb2f0380f068df (patch)
tree73b5de8ae1d866f324ccfb867a88fbe68587cf40 /src/Resources.cc
parente8c2690bfc92274b96d1620829977bf4c1db908b (diff)
downloadfluxbox-f8c61a1ba2cc5fc08690b89440cb2f0380f068df.zip
fluxbox-f8c61a1ba2cc5fc08690b89440cb2f0380f068df.tar.bz2
compile fix: use the correct format string to parse the number
Diffstat (limited to 'src/Resources.cc')
-rw-r--r--src/Resources.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Resources.cc b/src/Resources.cc
index 20786d8..60c7461 100644
--- a/src/Resources.cc
+++ b/src/Resources.cc
@@ -113,7 +113,7 @@ setFromString(const char *strval) {
113template<> 113template<>
114void FbTk::Resource<long long>:: 114void FbTk::Resource<long long>::
115setFromString(const char *strval) { 115setFromString(const char *strval) {
116 if (sscanf(strval, "%llu", &m_value) != 1) 116 if (sscanf(strval, "%lld", &m_value) != 1)
117 setDefaultValue(); 117 setDefaultValue();
118} 118}
119 119