mirror of
https://github.com/opnsense/src.git
synced 2026-02-10 14:25:50 -05:00
12 lines
249 B
Text
12 lines
249 B
Text
|
|
--- functionname.in
|
||
|
|
+++ functionname_objcm.in
|
||
|
|
@@ -18,7 +18,7 @@ - (long) readOffset:(FILE*)file
|
||
|
|
return offset;
|
||
|
|
} else {
|
||
|
|
int offset;
|
||
|
|
- fread(&offset, sizeof(int), 1, file);
|
||
|
|
+ fread(&offset-1, sizeof(int), 1, file);
|
||
|
|
return offset;
|
||
|
|
}
|
||
|
|
}
|