mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: get rid of compiler warnings
This commit is contained in:
@@ -129,7 +129,7 @@ static int writeData(void* _call)
|
||||
int src_stride = call->Stride;
|
||||
int dst_stride = call->destStride;
|
||||
int dst_delta = dst_stride - call->Width*4;
|
||||
int x,y;
|
||||
unsigned int x,y;
|
||||
const unsigned char *src = call->data;
|
||||
unsigned char *dst = call->destination + (call->y * dst_stride + call->x * 4);
|
||||
unsigned int k,ck,t;
|
||||
@@ -176,7 +176,7 @@ static int writeData(void* _call)
|
||||
}
|
||||
} else
|
||||
{
|
||||
int y;
|
||||
unsigned int y;
|
||||
for (y = 0; y < call->Height; y++)
|
||||
memset(call->destination + ((call->y + y) * call->destStride) + call->x * 4, 0, call->Width * 4);
|
||||
}
|
||||
|
Reference in New Issue
Block a user