mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-04 19:53:35 +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:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user