mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 65 - Fixes for configure.in for cross compilation
Fixed silly error where the return from fseek was compared to (unsigned int) NULL, which makes no sense at all. Commit for Dan Gora
This commit is contained in:
parent
4fdbe5bbd0
commit
c94c7a5c86
@ -479,7 +479,7 @@ static tKFWUM_Status KfwumGetFileSize(unsigned char * pFileName,
|
|||||||
|
|
||||||
if(pFileHandle)
|
if(pFileHandle)
|
||||||
{
|
{
|
||||||
if(fseek(pFileHandle, 0L , SEEK_END) == (unsigned int) NULL)
|
if (fseek(pFileHandle, 0L , SEEK_END) == 0)
|
||||||
{
|
{
|
||||||
*pFileSize = ftell(pFileHandle);
|
*pFileSize = ftell(pFileHandle);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user