summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Aurele La France <tsi@ualberta.edu>2002-03-04 21:15:28 +0000
committerMarc Aurele La France <tsi@ualberta.edu>2002-03-04 21:15:28 +0000
commit8c7b2a9d83fbe23e9073a188c7b970f100a91562 (patch)
tree1158f56e498883cbc432c802206576ed923a043d /src
parent216fac98e0785e787e32ff354241935a25723e4b (diff)
Warning fixes
Diffstat (limited to 'src')
-rw-r--r--src/fcatomic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcatomic.c b/src/fcatomic.c
index bfae53c3..68acde31 100644
--- a/src/fcatomic.c
+++ b/src/fcatomic.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: $
+ * $XFree86: xc/lib/fontconfig/src/fcatomic.c,v 1.1 2002/03/03 00:19:43 keithp Exp $
*
* Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
*
@@ -107,7 +107,7 @@ FcAtomicLock (FcAtomic *atomic)
unlink ((char *) atomic->tmp);
return FcFalse;
}
- ret = fprintf (f, "%d\n", getpid());
+ ret = fprintf (f, "%ld\n", (long)getpid());
if (ret <= 0)
{
fclose (f);