summaryrefslogtreecommitdiff
path: root/misc/ips.c
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:53:34 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commitae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch)
treebe0c9427556557ff5b06b0250bc64ff33062199e /misc/ips.c
parente348ef01b433e06888310c1098a05291034a856c (diff)
unsigned [int] -> uint
Diffstat (limited to 'misc/ips.c')
-rw-r--r--misc/ips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/ips.c b/misc/ips.c
index 7ea6c71b..467cc25d 100644
--- a/misc/ips.c
+++ b/misc/ips.c
@@ -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;