Fix build.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1143 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-11-02 20:01:40 +00:00
parent db8111373d
commit 2ba2b314d5

2
op_c.c
View File

@ -203,7 +203,7 @@ T_Conversion_table * CT_new(int nbb_r,int nbb_g,int nbb_b)
// Allocate the table
size=(n->rng_r)*(n->rng_g)*(n->rng_b);
n->table=(byte *)malloc(size, 1);
n->table=(byte *)calloc(size, 1);
if (n->table == NULL)
{
// Not enough memory