mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
unsigned [int] -> uint
This commit is contained in:
committed by
Ondrej Zajicek
parent
e348ef01b4
commit
ae80a2de95
@@ -23,7 +23,7 @@ int h[65536];
|
||||
* = ((1-1/k)^k)^a which we can approximate by e^-a.
|
||||
*/
|
||||
|
||||
unsigned int hf(unsigned int n)
|
||||
uint hf(uint n)
|
||||
{
|
||||
#if 0
|
||||
n = (n ^ (n >> 16)) & 0xffff;
|
||||
@@ -58,7 +58,7 @@ main(int argc, char **argv)
|
||||
|
||||
while (max--)
|
||||
{
|
||||
unsigned int i, e;
|
||||
uint i, e;
|
||||
if (scanf("%x/%d", &i, &e) != 2)
|
||||
if (feof(stdin))
|
||||
break;
|
||||
|
Reference in New Issue
Block a user