]> git.cworth.org Git - spritext/commitdiff
Use correct %ld instead of %d for long argument
authorCarl Worth <cworth@cworth.org>
Tue, 19 Jun 2007 06:48:03 +0000 (23:48 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 19 Jun 2007 06:48:03 +0000 (23:48 -0700)
This quiets the warning message from gcc.

spritext.c

index ebfa8ead044fef4a1b32ea23c08159b6229750ff..0250fa90e1447003ed91c9f931e9ac82f858f709 100644 (file)
@@ -189,7 +189,7 @@ cgiMain ()
                                FT_KERNING_UNSCALED, &kerning );
     
                if ( kerning.x )
-                   printf(",k%d:%d", characters[j], kerning.x);
+                   printf(",k%d:%ld", characters[j], kerning.x);
            }
 
            printf ("}");