forget paranthesis in two places, next time, I won't forget to try to compile before I check in code

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1552 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-10-17 01:06:28 +00:00
parent 2861a868b9
commit 7266c9b6ec
1 changed files with 2 additions and 2 deletions

View File

@ -863,7 +863,7 @@ copy_rle_packet(uint8 *ptga, uint32 pixel, uint8 count,
memcpy(ptga, &packethead, 1); memcpy(ptga, &packethead, 1);
ptga++; ptga++;
return pix_bits_to_tga(reinterpret_cast<uint8 *> &pixel, return pix_bits_to_tga(reinterpret_cast<uint8 *> (&pixel),
ptga, fromspace, 1, pmap, bitsBytesPerPixel) + 1; ptga, fromspace, 1, pmap, bitsBytesPerPixel) + 1;
} }
@ -905,7 +905,7 @@ pix_bits_to_tgarle(uint8 *pbits, uint8 *ptga, color_space fromspace,
pbits += bitsBytesPerPixel; pbits += bitsBytesPerPixel;
if (width == 1) { if (width == 1) {
result = copy_raw_packet(ptga, result = copy_raw_packet(ptga,
reinterpret_cast<uint8 *> &current, 1, reinterpret_cast<uint8 *> (&current), 1,
fromspace, pmap, bitsBytesPerPixel); fromspace, pmap, bitsBytesPerPixel);
ptga += result; ptga += result;