--- mstools/samples/rpc/handles/cxhndl/cxhndlp.c 2018/08/09 18:20:56 1.1 +++ mstools/samples/rpc/handles/cxhndl/cxhndlp.c 2018/08/09 18:22:03 1.1.1.2 @@ -32,7 +32,8 @@ FILE_CONTEXT_TYPE * pFileContext = &File // // This remote procedure opens a file on the server. // -short RemoteOpen(PPCONTEXT_HANDLE_TYPE pphContext, char * pszFileName) +short RemoteOpen(PPCONTEXT_HANDLE_TYPE pphContext, + unsigned char * pszFileName) { *pphContext = pFileContext; // initialize the context handle strcpy(pFileContext->achFile, pszFileName); @@ -45,7 +46,9 @@ short RemoteOpen(PPCONTEXT_HANDLE_TYPE p // // This remote procedure reads a file on the server. // -short RemoteRead(PPCONTEXT_HANDLE_TYPE pphContext, char *pbBuf, short *pcbBuf) +short RemoteRead(PPCONTEXT_HANDLE_TYPE pphContext, + unsigned char *pbBuf, + short *pcbBuf) { FILE * fp;