URI: 
       tcrop: fix 64-bit - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 8cd258df4e66ff7c37d2a7b656b3b2b3d8d2ee3a
   DIR parent ba31ab3044765270d40c9da934dfc11e5f8b63c5
  HTML Author: Russ Cox <rsc@swtch.com>
       Date:   Sun,  1 May 2011 14:42:58 -0400
       
       crop: fix 64-bit
       
       R=rsc
       http://codereview.appspot.com/4438088
       
       Diffstat:
         M src/cmd/draw/crop.c                 |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/src/cmd/draw/crop.c b/src/cmd/draw/crop.c
       t@@ -35,12 +35,12 @@ getint(char *s)
        }
        
        Rectangle
       -crop(Memimage *m, ulong c)
       +crop(Memimage *m, uint32 c)
        {
                Memimage *n;
                int x, y, bpl, wpl;
                int left, right, top, bottom;
       -        ulong *buf;
       +        uint32 *buf;
        
                left = m->r.max.x;
                right = m->r.min.x;
       t@@ -90,7 +90,7 @@ main(int argc, char *argv[])
                Point t;
                Memimage *m, *new;
                char *file;
       -        ulong bg, cropval;
       +        uint32 bg, cropval;
                long dw;
        
                memimageinit();