One more.........
I wonder if there's something better to do about these :(. In file included from hb-ot-color.cc:31: hb-ot-color-cpal-table.hh: In member function 'unsigned int OT::CPAL::get_size() const': hb-ot-color-cpal-table.hh:118: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
This commit is contained in:
parent
bc5db9b080
commit
fedd8e6c17
|
@ -115,7 +115,7 @@ struct CPAL
|
|||
inline bool has_data (void) const { return numPalettes; }
|
||||
|
||||
inline unsigned int get_size (void) const
|
||||
{ return min_size + numPalettes * sizeof (colorRecordIndicesZ[0]); }
|
||||
{ return min_size + numPalettes * sizeof (colorRecordIndicesZ[0u]); }
|
||||
|
||||
inline unsigned int get_palette_count () const { return numPalettes; }
|
||||
inline unsigned int get_color_count () const { return numColors; }
|
||||
|
|
Loading…
Reference in New Issue