@@ -236,7 +236,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
236236 poly -> y2 = max_y ;
237237 poly -> y3 = max_y ;
238238
239- addPrim (( u_long * )( current -> ot + 1 ) , poly );
239+ addPrim (current -> ot + 1 , poly );
240240 current -> primptr += sizeof (POLY_G4 );
241241 }
242242
@@ -269,7 +269,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
269269 poly2 -> y2 = max_y ;
270270 poly2 -> y3 = max_y ;
271271
272- addPrim (( u_long * )( current -> ot + 1 ) , poly2 );
272+ addPrim (current -> ot + 1 , poly2 );
273273 current -> primptr += sizeof (POLY_G4 );
274274
275275 // draw contours
@@ -291,7 +291,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
291291 lineF4 -> y2 = max_y ;
292292 lineF4 -> y3 = max_y ;
293293
294- addPrim (( u_long * )( current -> ot + 1 ) , lineF4 );
294+ addPrim (current -> ot + 1 , lineF4 );
295295 current -> primptr += sizeof (LINE_F4 );
296296
297297 LINE_F2 * lineF2 = (LINE_F2 * )current -> primptr ;
@@ -306,7 +306,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
306306 lineF2 -> x1 = min_x - 1 ;
307307 lineF2 -> y1 = max_y ;
308308
309- addPrim (( u_long * )( current -> ot + 1 ) , lineF2 );
309+ addPrim (current -> ot + 1 , lineF2 );
310310 current -> primptr += sizeof (LINE_F2 );
311311
312312 TransparencyOn (current -> ot + 1 , 0x20 );
@@ -439,7 +439,7 @@ void DrawProximityBar(PERCENTAGE_BAR *bar)
439439 lineF4 -> y2 = max_y ;
440440 lineF4 -> y3 = max_y ;
441441
442- addPrim (( u_long * )( current -> ot + 1 ) , lineF4 );
442+ addPrim (current -> ot + 1 , lineF4 );
443443 current -> primptr += sizeof (LINE_F4 );
444444
445445 LINE_F2 * lineF2 = (LINE_F2 * )current -> primptr ;
@@ -454,7 +454,7 @@ void DrawProximityBar(PERCENTAGE_BAR *bar)
454454 lineF2 -> x1 = min_x - 1 ;
455455 lineF2 -> y1 = max_y ;
456456
457- addPrim (( u_long * )( current -> ot + 1 ) , lineF2 );
457+ addPrim (current -> ot + 1 , lineF2 );
458458 current -> primptr += sizeof (LINE_F2 );
459459
460460 TransparencyOn (current -> ot + 1 , 0x20 );
0 commit comments