projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b34b16
)
(xreadlink): Add cast to avoid a warning.
author
Jim Meyering
<jim@meyering.net>
Sun, 9 Dec 2001 22:46:53 +0000
(22:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 9 Dec 2001 22:46:53 +0000
(22:46 +0000)
lib/xreadlink.c
patch
|
blob
|
history
diff --git
a/lib/xreadlink.c
b/lib/xreadlink.c
index 13c28456d66022a969a68e2e9a33e4d883d50834..54b5e9e5970fff0e39cacdeb7d8b799610cafcc5 100644
(file)
--- a/
lib/xreadlink.c
+++ b/
lib/xreadlink.c
@@
-78,7
+78,7
@@
xreadlink (char const *filename)
return NULL;
}
- if (link_length < buf_size)
+ if (
(size_t)
link_length < buf_size)
{
buffer[link_length] = 0;
return buffer;