🚨 Fix a handful of warnings from Clang
This commit is contained in:
parent
c11222fa76
commit
cb1016a6d9
2 changed files with 10 additions and 10 deletions
|
|
@ -75,7 +75,7 @@ static BYTE *CaptureEnc(BYTE *src, BYTE *dst, int width)
|
|||
|
||||
do {
|
||||
BYTE rlePixel = *src;
|
||||
*src++;
|
||||
src++;
|
||||
rleLength = 1;
|
||||
|
||||
width--;
|
||||
|
|
@ -93,11 +93,11 @@ static BYTE *CaptureEnc(BYTE *src, BYTE *dst, int width)
|
|||
|
||||
if (rleLength > 1 || rlePixel > 0xBF) {
|
||||
*dst = rleLength | 0xC0;
|
||||
*dst++;
|
||||
dst++;
|
||||
}
|
||||
|
||||
*dst = rlePixel;
|
||||
*dst++;
|
||||
dst++;
|
||||
} while (width);
|
||||
|
||||
return dst;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue