Use correct format specifier in AssColor::GetSSAFormatted()

Avoids a ton of assertion failures when saving SSA files.

Originally committed to SVN as r6942.
This commit is contained in:
cantabile 2012-07-24 02:39:35 +00:00 committed by Thomas Goyne
parent ef65262920
commit 3193e05747

View file

@ -130,7 +130,7 @@ wxString AssColor::GetASSFormatted(bool alpha,bool stripped,bool isStyle) const
/// @return /// @return
wxString AssColor::GetSSAFormatted() const { wxString AssColor::GetSSAFormatted() const {
long color = (a<<24)+(b<<16)+(g<<8)+r; long color = (a<<24)+(b<<16)+(g<<8)+r;
wxString output=wxString::Format("%i",(long)color); wxString output=wxString::Format("%li",(long)color);
return output; return output;
} }