Skip to content

Commit

Permalink
make strict C++11 compilers happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alextutubalin committed Jul 16, 2020
1 parent 349ecec commit b34c85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/write/file_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ void LibRaw::tiff_head(struct tiff_hdr *th, int full)
tiff_set(th, &th->nexif, 37386, 5, 1, TOFF(th->rat[8]));
if (gpsdata[1])
{
uchar latref[2] = { uchar(gpsdata[29]),0 },
lonref[2] = { uchar(gpsdata[30]),0 };
uchar latref[2] = { (uchar)(gpsdata[29]),0 },
lonref[2] = { (uchar)(gpsdata[30]),0 };
tiff_set(th, &th->ntag, 34853, 4, 1, TOFF(th->ngps));
tiff_set(th, &th->ngps, 0, 1, 4, 0x202);
tiff_set(th, &th->ngps, 1, 2, 2, TOFF(latref));
Expand Down

0 comments on commit b34c85a

Please sign in to comment.