Browse Source

Test

etomic
jl777 8 years ago
parent
commit
477dc883ab
  1. 2
      iguana/exchanges/DEXstats.h

2
iguana/exchanges/DEXstats.h

@ -874,7 +874,7 @@ char *stats_prices(char *symbol,char *dest,struct DEXstats_disp *prices,int32_t
if ( i != 2048 ) if ( i != 2048 )
i++; i++;
sum /= i; sum /= i;
uint32_t height = 400,*bitmap = calloc(sizeof(*bitmap),height * numdates*24); uint32_t val,height = 400,*bitmap = calloc(sizeof(*bitmap),height * numdates*24);
uint8_t red,green,blue,*tmpptr,*bytemap = calloc(sizeof(*bytemap),3 * height * numdates*24); uint8_t red,green,blue,*tmpptr,*bytemap = calloc(sizeof(*bytemap),3 * height * numdates*24);
output_line(0,sum,output,i,0xff00ff,bitmap,numdates*24,height); output_line(0,sum,output,i,0xff00ff,bitmap,numdates*24,height);
tmpptr = bytemap; tmpptr = bytemap;

Loading…
Cancel
Save