[#17600] char* -> const char*
Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.
This commit is contained in:
@@ -45,7 +45,7 @@ GPC_RawImage::GPC_RawImage()
|
||||
|
||||
|
||||
bool GPC_RawImage::Load(
|
||||
char *srcName,
|
||||
const char *srcName,
|
||||
int destWidth, int destHeight,
|
||||
TImageAlignment alignment, int offsetX, int offsetY)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
* @param offsetX Amount of horzontal offset applied to the resource image.
|
||||
* @param offsetY Amount of vertical offset applied to the resource image.
|
||||
*/
|
||||
virtual bool Load(char *srcName,
|
||||
virtual bool Load(const char *srcName,
|
||||
int destWidth, int destHeight,
|
||||
TImageAlignment alignment = alignTopLeft,
|
||||
int offsetX = 0, int offsetY = 0);
|
||||
|
||||
Reference in New Issue
Block a user