From a79b9f466ef44e2d7fdcd107fcb3606cac6f28ed Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Dec 2016 08:24:20 +0000 Subject: ptyc_fputs(): properly invoke the i/o function (uint32_t bytes). --- src/internal/ptycon_ntaio_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3