blob: e1342d12e03c233966efb7f027bdd90ff30f6eac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ./spool.c.orig 2010-08-10 17:48:35.000000000 +0200
+++ ./spool.c 2010-08-11 18:59:57.113889734 +0200
@@ -92,7 +92,7 @@
*/
if (fstat(fd, &st) != 0)
goto fail;
- if (asprintf(&queue->id, "%"PRIxMAX, st.st_ino) < 0)
+ if (asprintf(&queue->id, "%"PRIxMAX, (uintmax_t)st.st_ino) < 0)
goto fail;
queue->mailf = fdopen(fd, "r+");
|