[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] add to git: fsck: adapt format string to 64 bit size_t



---
 fsck/check-1/hasher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fsck/check-1/hasher.c b/fsck/check-1/hasher.c
index 1505c74..5832c06 100644
--- a/fsck/check-1/hasher.c
+++ b/fsck/check-1/hasher.c
@@ -106,7 +106,7 @@ static PyObject *hash_file(PyObject *self, PyObject *args)
 	    obuf[10], obuf[11], obuf[12], obuf[13], obuf[14],
 	    obuf[15], obuf[16], obuf[17], obuf[18], obuf[19]);
 	if (r >= sizeof(res_s)) {
-		printf("%d vs %d\n", r, sizeof(res_s));
+		printf("%d vs %ld\n", r, sizeof(res_s));
 		py_err("snprintf failure", filename);
 	}
 
-- 
2.1.4


Reply to: