Fix mismatch between the declaration and definition of fwrite.

The first parameter should be const void * instead of void *.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12157 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503 2011-08-18 02:05:30 +00:00
parent b6ed10751d
commit 1e6e6f50e0
1 changed files with 4 additions and 4 deletions

View File

@ -1291,7 +1291,7 @@ size_t fread (void * __restrict Buffer,
encountered. If Size or Num is zero, fwrite returns zero and encountered. If Size or Num is zero, fwrite returns zero and
the state of the stream remains unchanged. the state of the stream remains unchanged.
**/ **/
size_t fwrite (void * __restrict Buffer, size_t fwrite (const void * __restrict Buffer,
size_t Size, size_t Size,
size_t Num, size_t Num,
FILE * __restrict Stream FILE * __restrict Stream