[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] [pingus] push by address@hidden - Cast char to int to get p
From: |
pingus |
Subject: |
[Pingus-CVS] [pingus] push by address@hidden - Cast char to int to get proper output in the error message on 2011-11-28 20:00 GMT |
Date: |
Mon, 28 Nov 2011 20:01:28 +0000 |
Revision: 95c14bbbabe1
Author: Ingo Ruhnke <address@hidden>
Date: Mon Nov 28 12:00:37 2011
Log: Cast char to int to get proper output in the error message
http://code.google.com/p/pingus/source/detail?r=95c14bbbabe1
Modified:
/src/pingus/ground_map.cpp
=======================================
--- /src/pingus/ground_map.cpp Mon Nov 28 05:44:37 2011
+++ /src/pingus/ground_map.cpp Mon Nov 28 12:00:37 2011
@@ -205,7 +205,7 @@
{
raise_exception(std::runtime_error,
"SpotMap::put_alpha_surface: Image has wrong color
depth: "
- << sprovider.get_surface()->format->BitsPerPixel);
+ <<
static_cast<int>(sprovider.get_surface()->format->BitsPerPixel));
}
int swidth = sprovider.get_width();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] [pingus] push by address@hidden - Cast char to int to get proper output in the error message on 2011-11-28 20:00 GMT,
pingus <=