Fix typo in Read, Write and Peek functions signatures
All checks were successful
CI / build-and-analyze (push) Successful in 1m0s
All checks were successful
CI / build-and-analyze (push) Successful in 1m0s
This commit is contained in:
@@ -111,7 +111,7 @@ void CgeFileFree(CgeFile *file) {
|
||||
free(file);
|
||||
}
|
||||
|
||||
int CgeFileRead(CgeFile *file, char *buffer, size_t size, size_t *actual) {
|
||||
int CgeFileRead(CgeFile *file, void *buffer, size_t size, size_t *actual) {
|
||||
DWORD readed;
|
||||
|
||||
if (file->flags & CGE_FILE_ERROR)
|
||||
@@ -132,7 +132,7 @@ error:
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CgeFileWrite(CgeFile *file, const char *buffer, size_t size,
|
||||
int CgeFileWrite(CgeFile *file, const void *buffer, size_t size,
|
||||
size_t *actual) {
|
||||
DWORD written;
|
||||
LARGE_INTEGER position;
|
||||
|
||||
Reference in New Issue
Block a user