Browse Source

- fixed warning, return was missed

tags/v0.1.2
parent
commit
93d116d716
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      src/archeological_tools/find_potential_IFD_offsets.c
  2. +2
    -1
      src/archeological_tools/print_ifd_at_adress.c

+ 1
- 1
src/archeological_tools/find_potential_IFD_offsets.c View File

@@ -167,5 +167,5 @@ int main (int argc, char * argv[]) {
exit (FIXIT_TIFF_MISSED_OUTFILE);
}
scan_file_for_ifds( infilename, outfilename);
return 0;
}

+ 2
- 1
src/archeological_tools/print_ifd_at_adress.c View File

@@ -48,7 +48,7 @@ void print_ifd_at_adress (const char * infile, uint32 address) {
if (0 == nextifd) { printf("no next IFD found, all fine\n"); }
else { printf("IFD points to next IFD = 0x%0x\n", nextifd); }
printf("found %i Tags\n", countoftags);
lseek( fd_in, address
lseek( fd_in, address
+ 2 /* countoftags */
, SEEK_SET);
for (int i = 1; i <countoftags; i++) {
@@ -111,4 +111,5 @@ int main (int argc, char * argv[]) {
exit (-1);
}
print_ifd_at_adress( infilename, address);
return 0;
}

Loading…
Cancel
Save