diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-03 15:50:30 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-03 15:50:30 +0200 |
commit | 174ead3baf24e419916df473096c3af9abc126ba (patch) | |
tree | a679c883b8a7f7f1e655483c435698ec6fcee56c /src/qregisters.cpp | |
parent | 88dc6ac6daea0f0a16c7cf8a1e32d509121ff15c (diff) | |
download | sciteco-174ead3baf24e419916df473096c3af9abc126ba.tar.gz |
avoid compiler warning for giving field precision (non-null terminated string formatting)
Diffstat (limited to 'src/qregisters.cpp')
-rw-r--r-- | src/qregisters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qregisters.cpp b/src/qregisters.cpp index d924b25..f15f0d7 100644 --- a/src/qregisters.cpp +++ b/src/qregisters.cpp @@ -425,7 +425,7 @@ QRegisterWorkingDir::set_string(const gchar *str, gsize len) if (ret) /* FIXME: Is errno usable on Windows here? */ throw Error("Cannot change working directory " - "to \"%.*s\"", len, str); + "to \"%.*s\"", (int)len, str); } void |