diff --git a/src/sys/include/ubixfs/file.h b/src/sys/include/ubixfs/file.h index 479f1be..bdf7eed 100755 --- a/src/sys/include/ubixfs/file.h +++ b/src/sys/include/ubixfs/file.h @@ -41,7 +41,7 @@ uShort length; uLong start; uChar fileName[22]; - uChar *buffer; + char *buffer; } fileDescriptor; typedef struct userFileDescriptorStruct { diff --git a/src/sys/ubixfs/file.c b/src/sys/ubixfs/file.c index cd3f257..f3bc158 100755 --- a/src/sys/ubixfs/file.c +++ b/src/sys/ubixfs/file.c @@ -50,7 +50,7 @@ //Search For The File if (findFile((char *)file,tmpFd) == 1) { //If The File Is Found Then Set Up The Descriptor - tmpFd->buffer = (uChar *)kmalloc(4096);//(uChar *)0x1000; + tmpFd->buffer = (char *)kmalloc(4096);//(uChar *)0x1000; sprintf(tmpFd->fileName,"%s",file); //This Will Set Up The Descriptor Modes while (flags[0]) { @@ -249,4 +249,4 @@ ptr[0] = fgetc(tmpFd); } } - \ No newline at end of file +