summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:24:20 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:47:57 -0500
commita79b9f466ef44e2d7fdcd107fcb3606cac6f28ed (patch)
tree217f2a35ab11474afcdf0eac5c3d5a38dfa501d2
parenta64bedb439b8866efce164c3bed03ce64ee02ff9 (diff)
downloadptycon-a79b9f466ef44e2d7fdcd107fcb3606cac6f28ed.tar.bz2
ptycon-a79b9f466ef44e2d7fdcd107fcb3606cac6f28ed.tar.xz
ptyc_fputs(): properly invoke the i/o function (uint32_t bytes).
-rw-r--r--src/internal/ptycon_ntaio_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/ptycon_ntaio_impl.c b/src/internal/ptycon_ntaio_impl.c
index c990ff7..da6c720 100644
--- a/src/internal/ptycon_ntaio_impl.c
+++ b/src/internal/ptycon_ntaio_impl.c
@@ -69,7 +69,7 @@ int ptyc_fputs(const char * str, FILE * file)
hio,hevent,
0,0,&iosb,
(void *)str,
- nbytes,0,0);
+ (uint32_t)nbytes,0,0);
/* wait */
if (status == NT_STATUS_PENDING)