From 2e8778a4f845d16f601f2754de11c71ef570d33a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 6 Jun 2012 01:47:17 +0100 Subject: [PATCH] do not placate -Wpointer-sign --- cprogs/xacpi-simple.c | 8 +------- debian/changelog | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/cprogs/xacpi-simple.c b/cprogs/xacpi-simple.c index a7b584c..70949b9 100644 --- a/cprogs/xacpi-simple.c +++ b/cprogs/xacpi-simple.c @@ -763,15 +763,9 @@ static void refresh(void) { static void newgeometry(void) { int dummy; - unsigned int udummy, gotwidth, gotheight; Window dummyw; - XGetGeometry(disp,win, &dummyw,&dummy,&dummy, &gotwidth,&gotheight, - &udummy,&udummy); - assert(gotwidth < INT_MAX); - assert(gotheight < INT_MAX); - width = gotwidth; - height = gotheight; + XGetGeometry(disp,win, &dummyw,&dummy,&dummy, &width,&height, &dummy,&dummy); } static void eventloop(void) { diff --git a/debian/changelog b/debian/changelog index 94cb30c..5c5ee0f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,7 +20,6 @@ chiark-utils (4.1.31~~iwj) unstable; urgency=low - Option -debug produces some debugging output. - In the code, rename pix_... variables to be named after the meaning rather than the default colour. - - Get rid of some signed/unsigned warnings. * Fix the build-depends to refer to nettle-dev not libnettle-dev. * Add ${misc:Depends} to Depends: lines. Causes no change to the .debs. -- 2.30.2