diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-17 06:41:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-17 06:41:01 +0000 |
commit | 04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5 (patch) | |
tree | e54a18edd70f73e486cb966f80b4d741ff37ed68 /sysdeps/posix | |
parent | b76e5a4e6b295e0917120e8f0db1cf3f987b7f86 (diff) | |
download | glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.tar glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.tar.gz glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.tar.bz2 glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.zip |
Update.
1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/posix/tempname.c (__path_search): Add casts for format
string.
1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
problem.
(IXDR_PUT_INT32): Fully parenthesize parameters.
(IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
parenthesize parameter.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/tempname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c index 7437a8a420..ed6db1a135 100644 --- a/sysdeps/posix/tempname.c +++ b/sysdeps/posix/tempname.c @@ -95,7 +95,7 @@ __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, return -1; } - sprintf (tmpl, "%.*s/%.*sXXXXXX", dlen, dir, plen, pfx); + sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); return 0; } |