Unbreak the build against recent Clang.

PR:	225556
This commit is contained in:
Alexey Dokuchaev
2018-02-05 17:26:08 +00:00
parent 85e9c1f82c
commit 70f695da31

View File

@@ -19,3 +19,12 @@
}
} else if (fsize == 5869568) {
if (!timestamp && minolta_z2()) {
@@ -10073,7 +10073,7 @@ void CLASS tiff_head (struct tiff_hdr *th, int full)
strncpy (th->desc, desc, 512);
strncpy (th->make, make, 64);
strncpy (th->model, model, 64);
- strcpy (th->soft, "dcraw v"DCRAW_VERSION);
+ strcpy (th->soft, "dcraw v" DCRAW_VERSION);
t = localtime (&timestamp);
sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d",
t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);