projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8f38b
)
(higher_prime_number): Fix type of mid variable.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 20 May 2008 22:55:47 +0000
(22:55 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 20 May 2008 22:55:47 +0000
(22:55 +0000)
include/inline-hashtab.h
patch
|
blob
|
history
diff --git
a/include/inline-hashtab.h
b/include/inline-hashtab.h
index
1c36bd7
..
ad361cd
100644
(file)
--- a/
include/inline-hashtab.h
+++ b/
include/inline-hashtab.h
@@
-74,7
+74,7
@@
higher_prime_number (unsigned long n)
while (low != high)
{
- const u
nsigned long
*mid = low + (high - low) / 2;
+ const u
int32_t
*mid = low + (high - low) / 2;
if (n > *mid)
low = mid + 1;
else