colors

extract colors from pictures
git clone git://git.2f30.org/colors.git
Log | Files | Refs | README | LICENSE

commit e0ac91766220491278e6fd9cfda6c32f78d00091
parent 7d2b5f671bf2627fa8539c4da5a94900755fcaf4
Author: lostd <lostd@2f30.org>
Date:   Sat Jun 13 14:07:37 +0300

Bump to long long to avoid overflows on 32-bit systems

Diffstat:
colors.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/colors.c b/colors.c @@ -16,7 +16,7 @@ struct point { int x; int y; int z; - long freq; + long long freq; struct cluster *c; RB_ENTRY(point) e; }; @@ -25,8 +25,8 @@ struct cluster { struct point center; size_t nelems; struct { - size_t nmembers; - long x, y, z; + long long nmembers; + long long x, y, z; } tmp; };