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
+1 -1
View File
@@ -1664,7 +1664,7 @@ DCRaw::_AdobeCoefficients(const char *make, const char *model)
if (table[i].black) if (table[i].black)
fMeta.black = table[i].black; fMeta.black = table[i].black;
for (uint32 j = 0; j < 12; j++) { 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); _CameraXYZCoefficients(cameraXYZ);
break; break;