From 77c4d6e67debf0e729734d882df033c4c0f5b0c3 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Mon, 20 Apr 2015 22:01:04 +0200
Subject: Big redign of model structures

---
 apps/check_counter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/check_counter.c')

diff --git a/apps/check_counter.c b/apps/check_counter.c
index b19b7d0..3774d4f 100644
--- a/apps/check_counter.c
+++ b/apps/check_counter.c
@@ -30,7 +30,7 @@ int main(int argc, char *argv[]) {
 
 	for (; i < n; i++) {
 	    if ((buf[i]) != ++value) {
-		printf("Pos %lx (Block %i, dword %i) expected %x, but got %x\n", block * 4096 + i * 4, block, i, value, (buf[i]));
+		printf("Pos %lx (Block %i, dword %i) expected %x, but got %x\n", block * 4096l + i * 4, block, i, value, (buf[i]));
 		exit(1);
 	    }
 	}
-- 
cgit v1.2.3