Hello
To be able to open large logfiles in a software, I change the necessary "fopen"-command to "fopen64". This procedure works and is described in a patch, too. However when I compile it I get some warnings:
--> In function `main':
--> warning: implicit declaration of function `fopen64'
--> warning: assignment makes pointer from integer without a cast
Before patching I had:
After patching:Code:FILE *log_fp; ... log_fp = fopen(log_fname,"r");
How can I avoid that warning???Code:FILE *log_fp; ... log_fp = fopen64(log_fname,"r");




Reply With Quote