Commit 66aaecc1 authored by Dafydd Harries's avatar Dafydd Harries

read() returns gint, not guint

darcs-hash:20070212162044-c9803-5a842ca02a2ebde6d502fb66208bac6677376121.gz
parent 8810d7b0
...@@ -13,7 +13,7 @@ readline (guint fileno) ...@@ -13,7 +13,7 @@ readline (guint fileno)
for (i = 0; i < sizeof (buf); i++) for (i = 0; i < sizeof (buf); i++)
{ {
guint ret; gint ret;
ret = read (fileno, buf + i, 1); ret = read (fileno, buf + i, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment