nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ci: compile the manual
[nit.git]
/
lib
/
socket
/
socket_c.nit
diff --git
a/lib/socket/socket_c.nit
b/lib/socket/socket_c.nit
index
e359b77
..
13b4049
100644
(file)
--- a/
lib/socket/socket_c.nit
+++ b/
lib/socket/socket_c.nit
@@
-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);
`}