Skip to content

Commit

Permalink
fix the casts so it ompiles under recent visual studio.
Browse files Browse the repository at this point in the history
  • Loading branch information
urkle committed May 14, 2010
1 parent 496ad0e commit 7f516ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/impl/SDLTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ namespace hpl {
int lOldW = mlWidth;
int lOldH = mlHeight;

int lSizeDiv = (int)pow((int)2,(int)mlSizeLevel);
int lSizeDiv = (int)pow((float)2,(int)mlSizeLevel);

mlWidth /= lSizeDiv;
mlHeight /= lSizeDiv;
Expand Down

0 comments on commit 7f516ea

Please sign in to comment.