tennix: fix build
in the first attempt git removed whitespaces
This commit is contained in:
parent
7d3ffc5bf8
commit
6d89fff92a
|
@ -90,33 +90,33 @@ Bug-Debian: http://bugs.debian.org/664907
|
|||
csax = sax;
|
||||
- for (x = 0; x < dst->w; x++) {
|
||||
+ for (x = 0; x < (Uint32)dst->w; x++) {
|
||||
csx += sx;
|
||||
*csax = (csx >> 16);
|
||||
csx &= 0xffff;
|
||||
csx += sx;
|
||||
*csax = (csx >> 16);
|
||||
csx &= 0xffff;
|
||||
@@ -401,7 +404,7 @@ int zoomSurfaceY(SDL_Surface * src, SDL_
|
||||
}
|
||||
csy = 0;
|
||||
csay = say;
|
||||
- for (y = 0; y < dst->h; y++) {
|
||||
+ for (y = 0; y < (Uint32)dst->h; y++) {
|
||||
csy += sy;
|
||||
*csay = (csy >> 16);
|
||||
csy &= 0xffff;
|
||||
csy += sy;
|
||||
*csay = (csy >> 16);
|
||||
csy &= 0xffff;
|
||||
@@ -410,13 +413,13 @@ int zoomSurfaceY(SDL_Surface * src, SDL_
|
||||
|
||||
csx = 0;
|
||||
csax = sax;
|
||||
- for (x = 0; x < dst->w; x++) {
|
||||
+ for (x = 0; x < (Uint32)dst->w; x++) {
|
||||
csx += (*csax);
|
||||
csax++;
|
||||
csx += (*csax);
|
||||
csax++;
|
||||
}
|
||||
csy = 0;
|
||||
csay = say;
|
||||
- for (y = 0; y < dst->h; y++) {
|
||||
+ for (y = 0; y < (Uint32)dst->h; y++) {
|
||||
csy += (*csay);
|
||||
csay++;
|
||||
csy += (*csay);
|
||||
csay++;
|
||||
}
|
||||
@@ -432,10 +435,10 @@ int zoomSurfaceY(SDL_Surface * src, SDL_
|
||||
* Draw
|
||||
|
@ -124,16 +124,16 @@ Bug-Debian: http://bugs.debian.org/664907
|
|||
csay = say;
|
||||
- for (y = 0; y < dst->h; y++) {
|
||||
+ for (y = 0; y < (Uint32)dst->h; y++) {
|
||||
csax = sax;
|
||||
sp = csp;
|
||||
csax = sax;
|
||||
sp = csp;
|
||||
- for (x = 0; x < dst->w; x++) {
|
||||
+ for (x = 0; x < (Uint32)dst->w; x++) {
|
||||
/*
|
||||
* Draw
|
||||
*/
|
||||
/*
|
||||
* Draw
|
||||
*/
|
||||
@@ -801,6 +804,8 @@ SDL_Surface* rotateSurface90Degrees(SDL_
|
||||
void rotozoomSurfaceSizeTrig(int width, int height, double angle, double zoomx, double zoomy, int *dstwidth, int *dstheight,
|
||||
double *canglezoom, double *sanglezoom)
|
||||
double *canglezoom, double *sanglezoom)
|
||||
{
|
||||
+ (void)zoomy;
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue