removed harmless warning

This commit is contained in:
Paolo Cignoni 2009-12-04 08:22:33 +00:00
parent 32619f1625
commit f7b9856d0d
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ public:
case 2: r=p; g=v; b=t; break;
case 3: r=p; g=q; b=v; break;
case 4: r=t; g=p; b=v; break;
default:
case 5: r=v; g=p; b=q; break;
}
(*this)[0]=(unsigned char)(255*r);