--- np2/common/textfile.c 2005/04/01 15:35:49 1.8 +++ np2/common/textfile.c 2005/05/15 20:18:31 1.9 @@ -253,7 +253,7 @@ const UINT8 *p; UINT wsize; ret = SUCCESS; - p = (char *)buffer; + p = (UINT8 *)buffer; while(size) { wsize = min(size, tf->bufrem); if (wsize) {