aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'unmime.c')
-rw-r--r--unmime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unmime.c b/unmime.c
index ad402aa8..5bc8f2b0 100644
--- a/unmime.c
+++ b/unmime.c
@@ -669,9 +669,9 @@ int main(int argc, char *argv[])
char fnam[100];
pid = getpid();
- sprintf(fnam, "/tmp/i_unmime.%x", pid);
+ sprintf(fnam, "/tmp/i_unmime.%lx", (long)pid);
fd_orig = fopen(fnam, "w");
- sprintf(fnam, "/tmp/o_unmime.%x", pid);
+ sprintf(fnam, "/tmp/o_unmime.%lx", (long)pid);
fd_conv = fopen(fnam, "w");
#endif