From: kramm Date: Wed, 12 Nov 2008 10:39:06 +0000 (+0000) Subject: lrand48() -> rand() X-Git-Tag: release-0-9-0~831 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=40db22dd37392b83d6c7d67271cb7f544b06cb2e;p=swftools.git lrand48() -> rand() --- diff --git a/lib/png.c b/lib/png.c index 118fbd6..22eebe3 100644 --- a/lib/png.c +++ b/lib/png.c @@ -904,7 +904,7 @@ static COL* getOptimalPalette(COL*image, int size, int palettesize) } } if(!count) { - int random = lrand48()%num; + int random = rand()%num; centers[s].color = colors[random].color; centers[s].num = 0; change = 1;