]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 09:50:34 +0000 (09:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 09:50:34 +0000 (09:50 +0000)
* sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.

ChangeLog
sysdeps/unix/opendir.c

index 040e0c01f977202465f8437d8f7b752b47db52d9..8641abe1fda208ea528fc4409af421bbb6184af9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
+
        * inet/getnameinfo.c: Adjust casts to avoid warnings.
        * inet/rcmd.c: Likewise.
        * inet/ruserpass.c: Likewise.
index cf838478475d3a67ff216837daba3a6a1f313c0d..461f82bc9793c11756c99229c3de5118047987b2 100644 (file)
@@ -131,7 +131,8 @@ __opendir (const char *name)
     goto lose;
 
 #ifdef _STATBUF_ST_BLKSIZE
-  if (__builtin_expect (statbuf.st_blksize < sizeof (struct dirent), 0))
+  if (__builtin_expect ((size_t) statbuf.st_blksize < sizeof (struct dirent),
+                       0))
     allocation = sizeof (struct dirent);
   else
     allocation = statbuf.st_blksize;
This page took 0.046141 seconds and 5 git commands to generate.