RAWTranslator: fixed a warning

the code uses a double[4][3] array as a double cameraXYZ[0][12] array.
This commit is contained in:
Jérôme Duval
2013-10-01 19:48:50 +02:00
parent 1b63e0a3a8
commit 4f2c820dda
+2 -2
View File
@@ -695,7 +695,7 @@ get2_rggb:
fMeta.camera_multipliers[i ^ (i >> 1)] = fRead.Next<uint16>();
}
}
next:
fRead.Seek(nextOffset, SEEK_SET);
}
@@ -1664,7 +1664,7 @@ DCRaw::_AdobeCoefficients(const char *make, const char *model)
if (table[i].black)
fMeta.black = table[i].black;
for (uint32 j = 0; j < 12; j++) {
cameraXYZ[0][j] = table[i].trans[j] / 10000.0;
((double**)cameraXYZ)[0][j] = table[i].trans[j] / 10000.0;
}
_CameraXYZCoefficients(cameraXYZ);
break;