fixed stupid little warning about targets differ in signedness.
authorKent Mein <mein@cs.umn.edu>
Tue, 16 Jan 2007 21:34:39 +0000 (21:34 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 16 Jan 2007 21:34:39 +0000 (21:34 +0000)
(unsigned char verses char)

Kent

release/plugins/sequence/gamma.c

index c919c104a1b5bd59c1674581d457c96aaa8d80a5..7a2c0d1dac1e7c5590426f2e96d9ff7129690552 100644 (file)
@@ -113,8 +113,8 @@ void plugin_seq_doit(Cast *cast, float facf0, float facf1, int width,
                
                if (!ibuf1) return;
 
-               dest= (char *) out->rect;
-               src1= (char *) ibuf1->rect;
+               dest= (unsigned char *) out->rect;
+               src1= (unsigned char *) ibuf1->rect;
 
                make_gamma_table(cast->setup_m, cast->gain_m, cast->gamma_m,
                                 gamma_table_m);