Commit 8c7b2a9d authored by Marc Aurele La France's avatar Marc Aurele La France

Warning fixes

parent 216fac98
/* /*
* $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. * Copyright 2002 Keith Packard, member of The XFree86 Project, Inc.
* *
...@@ -107,7 +107,7 @@ FcAtomicLock (FcAtomic *atomic) ...@@ -107,7 +107,7 @@ FcAtomicLock (FcAtomic *atomic)
unlink ((char *) atomic->tmp); unlink ((char *) atomic->tmp);
return FcFalse; return FcFalse;
} }
ret = fprintf (f, "%d\n", getpid()); ret = fprintf (f, "%ld\n", (long)getpid());
if (ret <= 0) if (ret <= 0)
{ {
fclose (f); fclose (f);
......
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