Avoid a few compilation warnings
This commit is contained in:
parent
f79a5f27ef
commit
4a7d01c9c2
|
@ -767,9 +767,9 @@ void desktop_set_alignment(Desktop * desktop, DesktopAlignment alignment)
|
||||||
static void _alignment_horizontal(Desktop * desktop)
|
static void _alignment_horizontal(Desktop * desktop)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
int x = desktop->workarea.x;
|
unsigned int x = desktop->workarea.x;
|
||||||
int y = desktop->workarea.y;
|
unsigned int y = desktop->workarea.y;
|
||||||
int width = x + desktop->workarea.width;
|
unsigned int width = x + desktop->workarea.width;
|
||||||
unsigned int iwidth;
|
unsigned int iwidth;
|
||||||
unsigned int iheight;
|
unsigned int iheight;
|
||||||
|
|
||||||
|
@ -789,9 +789,9 @@ static void _alignment_horizontal(Desktop * desktop)
|
||||||
static void _alignment_vertical(Desktop * desktop)
|
static void _alignment_vertical(Desktop * desktop)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
int x = desktop->workarea.x;
|
unsigned int x = desktop->workarea.x;
|
||||||
int y = desktop->workarea.y;
|
unsigned int y = desktop->workarea.y;
|
||||||
int height = desktop->workarea.y + desktop->workarea.height;
|
unsigned int height = desktop->workarea.y + desktop->workarea.height;
|
||||||
unsigned int iwidth;
|
unsigned int iwidth;
|
||||||
unsigned int iheight;
|
unsigned int iheight;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user