Commit b9d3aade authored by Peter Palfrader's avatar Peter Palfrader

add to git: fsck: adapt format string to 64 bit size_t

parent fed159bf
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment