aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-17 06:41:01 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-17 06:41:01 +0000
commit04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5 (patch)
treee54a18edd70f73e486cb966f80b4d741ff37ed68 /sysdeps/posix
parentb76e5a4e6b295e0917120e8f0db1cf3f987b7f86 (diff)
downloadglibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.zip
glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.tar.gz
glibc-04166d6ee15cdcc3f1a5f384fdeb76ba892ecaf5.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
index 7437a8a..ed6db1a 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;
}