mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/net/dns.c (hash): Use unsigned arithmetic.
This commit is contained in:
1 parent
c64577a554
commit
40f290606d
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2013-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/net/dns.c (hash): Use unsigned arithmetic.
|
||||
|
||||
2013-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/io/gzio.c (test_zlib_header): Use undigned modulo rather
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ struct recv_data
|
||||
static inline int
|
||||
hash (const char *str)
|
||||
{
|
||||
int v = 0, xn = 1;
|
||||
unsigned v = 0, xn = 1;
|
||||
const char *ptr;
|
||||
for (ptr = str; *ptr; )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user