[gedit-code-assistance] Correct format type specifiers in debug message
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance] Correct format type specifiers in debug message
- Date: Sat, 3 Mar 2012 15:04:35 +0000 (UTC)
commit df6fc09657d94f182dc948601b3a8f2565b9315f
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Sat Mar 3 16:04:22 2012 +0100
Correct format type specifiers in debug message
src/gcp-c-document.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcp-c-document.vala b/src/gcp-c-document.vala
index 661891e..f118628 100644
--- a/src/gcp-c-document.vala
+++ b/src/gcp-c-document.vala
@@ -123,7 +123,7 @@ class Document : Gcp.Document,
{
SourceIndex<Diagnostic> ndiag = new SourceIndex<Diagnostic>();
- Log.debug("New diagnostics: %d", tu.num_diagnostics);
+ Log.debug("New diagnostics: %u", tu.num_diagnostics);
for (uint i = 0; i < tu.num_diagnostics; ++i)
{
@@ -133,7 +133,7 @@ class Document : Gcp.Document,
var loc = Translator.source_location(d.location);
- Log.debug("Diagnostic location [%d]: %s", i, loc.file == null ? null : loc.file.get_path());
+ Log.debug("Diagnostic location [%u]: %s", i, loc.file == null ? null : loc.file.get_path());
if (loc.file == null || !loc.file.equal(location))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]