summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-08-06 23:15:06 +0200
committerSebastian Reichel <sre@ring0.de>2012-08-06 23:15:06 +0200
commit30339bfed648cb9bdedf899274940720dfe31e4c (patch)
treedb0714e627c4bffc3e98d6e26ddea1cf145243f5
parent8c262f4212453f8d87c6333b3c3bb3fe5ffe541f (diff)
downloadserial-barcode-scanner-30339bfed648cb9bdedf899274940720dfe31e4c.tar.bz2
int is %d
-rw-r--r--ui.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.vala b/ui.vala
index 34aefb3..9e235f3 100644
--- a/ui.vala
+++ b/ui.vala
@@ -28,7 +28,7 @@ public void init_restock_dialog() {
var amount = (int) spinner.get_value();
int64 timestamp = (new DateTime.now_utc()).to_unix();
- stdout.printf("[%lld] restock: %lld - %lld\n", timestamp, product, amount);
+ stdout.printf("[%lld] restock: %lld - %d\n", timestamp, product, amount);
if(db.restock(product, amount))
window.hide();