Ticket #6192: rawtranslatorUpdate.patch

File rawtranslatorUpdate.patch, 1.1 KB (added by Karvjorm, 9 years ago)

A fix to remove warnings about deprecate parameter use.

  • src/add-ons/translators/raw/RAW.h

     
    9999        void _PreInterpolate();
    100100        void _CameraToCIELab(ushort cam[4], float lab[3]);
    101101        void _CameraXYZCoefficients(double cam_xyz[4][3]);
    102         void _AdobeCoefficients(char* manufacturer, char* model);
     102        void _AdobeCoefficients(const char *manufacturer, const char *model);
    103103        void _BorderInterpolate(uint32 border);
    104104        void _AHDInterpolate();
    105105        void _PseudoInverse(double (*in)[3], double (*out)[3], uint32 size);
  • src/add-ons/translators/raw/RAW.cpp

     
    13481348/*! Thanks to Adobe for providing these excellent CAM -> XYZ matrices!
    13491349*/
    13501350void
    1351 DCRaw::_AdobeCoefficients(char *make, char *model)
     1351DCRaw::_AdobeCoefficients(const char *make, const char *model)
    13521352{
    13531353    static const struct {
    13541354        const char *prefix;