mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-11 10:38:39 +08:00
ftell return signed
This commit is contained in:
parent
1bb7b041c0
commit
93dbb24103
1 changed files with 2 additions and 1 deletions
|
@ -1143,7 +1143,8 @@ int loadFileDICTIONARYEx(const char *preferredName, void *data, size_t maxdatale
|
|||
|
||||
// read file
|
||||
while (!feof(f)) {
|
||||
size_t filepos = ftell(f);
|
||||
long filepos = ftell(f);
|
||||
|
||||
if (!fgets(line, sizeof(line), f)) {
|
||||
if (endFilePosition)
|
||||
*endFilePosition = 0;
|
||||
|
|
Loading…
Reference in a new issue