mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 02:13:05 +00:00
ftell return signed
This commit is contained in:
1 parent
1bb7b041c0
commit
93dbb24103
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user