lib/core: remove uses of Byte for Text
[nit.git] / lib / socket / socket_c.nit
index e359b77..13b4049 100644 (file)
@@ -141,7 +141,7 @@ extern class NativeSocket `{ int* `}
        `}
 
        # Write `value` as a single byte
-       fun write_byte(value: Byte): Int `{
+       fun write_byte(value: Int): Int `{
                unsigned char byt = (unsigned char)value;
                return write(*self, &byt, 1);
        `}