Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 468 → Rev 1056

/shark/trunk/drivers/fb/cfbimgblt.c
140,8 → 140,10
if (pitch_index) {
dst2 += p->fix.line_length;
dst1 = (char *) dst2;
(unsigned long) dst1 &= ~(sizeof(u32) - 1);
 
// changed for gcc4 compatibility
dst1 = (unsigned long)(dst1) & ~(sizeof(u32) - 1);
 
start_index += pitch_index;
start_index &= 32 - 1;
}
206,8 → 208,10
if (pitch_index) {
dst2 += pitch;
dst1 = (char *) dst2;
(unsigned long) dst1 &= ~(sizeof(u32) - 1);
 
// changed for gcc4 compatibility
dst1 = (unsigned long)(dst1) & ~(sizeof(u32) - 1);
 
start_index += pitch_index;
start_index &= 32 - 1;
}