OSDN Git Service

tempname: fix int precision warnings
authorMike Frysinger <vapier@gentoo.org>
Tue, 22 Feb 2011 02:29:58 +0000 (21:29 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 22 Feb 2011 18:32:47 +0000 (13:32 -0500)
commit435f73337eff129943249b0d59aad50c8df5bd2e
tree02a2611aab9f58c376fcb5017f45be75269d5499
parent9bc14fb42980b738abfcd8be8cffcca0937b5220
tempname: fix int precision warnings

The printf precision takes an integer, not a size_t.  Otherwise we get:

libc/misc/internals/tempname.c: In function '___path_search':
libc/misc/internals/tempname.c:116: warning:
field precision should have type 'int', but argument 3 has type 'size_t'
field precision should have type 'int', but argument 5 has type 'size_t'

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libc/misc/internals/tempname.c