X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fstructure.h;h=beadfed469a9476644ce4673d9b6cfa68e2fbf7f;hb=0784ae937712ff7bf220f25d58e8da0ae2a10d87;hp=f3fbb72ed2d157ea01a3b103e2d2854544bb2f85;hpb=9334b48a221df6f96a88933be8fde35e2ef41b35;p=ypp-sc-tools.db-test.git diff --git a/pctb/structure.h b/pctb/structure.h index f3fbb72..beadfed 100644 --- a/pctb/structure.h +++ b/pctb/structure.h @@ -34,7 +34,7 @@ typedef struct { - unsigned long rgb; /* on screen */ + Rgb rgb; /* on screen */ char c; /* canonical */ } CanonColourInfo; @@ -45,7 +45,7 @@ CanonImage *alloc_canon_image(int w, int h); #define CANONICALISE_IMAGE(im,w,h, COMPUTE_RGB) do{ \ /* compute_rgb should be a number of statements, or \ * a block, which assigns to \ - * unsigned long rgb; \ + * Rgb rgb; \ * given the values of \ * int x,y; \ * all of which are anamorphic. Result is stored in im. \