X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2Fstructure.h;h=beadfed469a9476644ce4673d9b6cfa68e2fbf7f;hp=f3fbb72ed2d157ea01a3b103e2d2854544bb2f85;hb=cec9583fe97a74a44625e63cfa22318db2699ee4;hpb=9334b48a221df6f96a88933be8fde35e2ef41b35 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. \