projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c4a26
)
The last change to plugins.c erroneously passes a size_t as a field
author
Greg Hudson
<ghudson@mit.edu>
Tue, 28 Oct 2008 20:28:52 +0000
(20:28 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Tue, 28 Oct 2008 20:28:52 +0000
(20:28 +0000)
width to asprintf. Address the signed/unsigned warning cleanup using
a cast instead.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20931
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/support/plugins.c
patch
|
blob
|
history
diff --git
a/src/util/support/plugins.c
b/src/util/support/plugins.c
index 5391d7be7006e7ea64fb3332e5589007789f0b61..26ec3912f9bc516e026875cb092a6d80204e8e9a 100644
(file)
--- a/
src/util/support/plugins.c
+++ b/
src/util/support/plugins.c
@@
-618,7
+618,7
@@
krb5int_open_plugin_dirs (const char * const *dirnames,
}
if (!err) {
-
size_
t len = NAMELEN (d);
+
in
t len = NAMELEN (d);
if (asprintf(&filepath, "%s/%*s", dirnames[i], len, d->d_name) < 0) {
filepath = NULL;
err = ENOMEM;