chiark / gitweb /
do not placate -Wpointer-sign
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:47:17 +0000 (01:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:47:17 +0000 (01:47 +0100)
cprogs/xacpi-simple.c
debian/changelog

index a7b584cf012f053edea01e59b30cee5d1a750bf5..70949b91506c3d39061c62645eb0d4de4477e2dd 100644 (file)
@@ -763,15 +763,9 @@ static void refresh(void) {
 
 static void newgeometry(void) {
   int dummy;
 
 static void newgeometry(void) {
   int dummy;
-  unsigned int udummy, gotwidth, gotheight;
   Window dummyw;
   
   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) {
 }
 
 static void eventloop(void) {
index 94cb30c667a166c6947bd967a6f4a3c93a866bca..5c5ee0f9c15f43da6907033ec6f6b27ccabda710 100644 (file)
@@ -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.
     - 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.
 
   * Fix the build-depends to refer to nettle-dev not libnettle-dev.
   * Add ${misc:Depends} to Depends: lines.  Causes no change to the .debs.