Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed: type complains on Mac

  • Loading branch information...
commit 74c2deef9cc1d22ae28410c00439f045a93c62f5 1 parent f8f26ea
@Mezomish authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/colorpicker/ColorFormatDlg.cpp
View
2  plugins/colorpicker/ColorFormatDlg.cpp
@@ -15,7 +15,7 @@ ColorFormatDlg::ColorFormatDlg( JuffPlugin* plugin, const QColor& color, QWidget
_ui.btnHtml->setText( color.name() );
_ui.btnHex->setText( color.name().replace("#", "0x") );
- _ui.btnHexSplitted->setText( QString().sprintf("0x%02hX, 0x%02hX, 0x%02hX", r, g, b) );
+ _ui.btnHexSplitted->setText( QString().sprintf("0x%02hX, 0x%02hX, 0x%02hX", (unsigned short)r, (unsigned short)g, (unsigned short)b) );
_ui.btnSplitted->setText( QString().sprintf("%i, %i, %i", r, g, b) );
_ui.buttonGroup->setId( _ui.btnHtml, 0 );
Please sign in to comment.
Something went wrong with that request. Please try again.