fixed several warnings from Xcode 4 LLVM compiler; fixed bug #920
This commit is contained in:
@@ -62,7 +62,7 @@ static const uint8 Alog[256] = { 1,2,4,8,16,32,64,128,45,90,180,69,138,57,114,22
|
||||
169,127,254,209,143,51,102,204,181,71,142,49,98,196,165,103,206,177,79,158,17,34,68,136,61,122,244,197,167,99,
|
||||
198,161,111,222,145,15,30,60,120,240,205,183,67,134,33,66,132,37,74,148,5,10,20,40,80,160,109,218,153,31,62,
|
||||
124,248,221,151,3,6,12,24,48,96,192,173,119,238,241,207,179,75,150,1 };
|
||||
static const uint8 Log[256] = { -255,255,1,240,2,225,241,53,3,38,226,133,242,43,54,210,4,195,39,
|
||||
static const uint8 Log[256] = { (uchar)-255,255,1,240,2,225,241,53,3,38,226,133,242,43,54,210,4,195,39,
|
||||
114,227,106,134,28,243,140,44,23,55,118,211,234,5,219,196,96,40,222,115,103,228,78,107,125,
|
||||
135,8,29,162,244,186,141,180,45,99,24,49,56,13,119,153,212,199,235,91,6,76,220,217,197,11,97,
|
||||
184,41,36,223,253,116,138,104,193,229,86,79,171,108,165,126,145,136,34,9,74,30,32,163,84,245,
|
||||
@@ -161,9 +161,9 @@ int Sampler::hasbars()
|
||||
|
||||
void Sampler::timing()
|
||||
{
|
||||
uint8 dark = getpixel(9, 0);
|
||||
uint8 light, dark = getpixel(9, 0);
|
||||
for (int i = 1; i < 3; i += 2) {
|
||||
uint8 light = getpixel(9, i);
|
||||
light = getpixel(9, i);
|
||||
// if (light <= dark)
|
||||
// goto endo;
|
||||
dark = getpixel(9, i + 1);
|
||||
|
Reference in New Issue
Block a user