@@ -236,7 +236,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
236
236
poly -> y2 = max_y ;
237
237
poly -> y3 = max_y ;
238
238
239
- addPrim (( u_long * )( current -> ot + 1 ) , poly );
239
+ addPrim (current -> ot + 1 , poly );
240
240
current -> primptr += sizeof (POLY_G4 );
241
241
}
242
242
@@ -269,7 +269,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
269
269
poly2 -> y2 = max_y ;
270
270
poly2 -> y3 = max_y ;
271
271
272
- addPrim (( u_long * )( current -> ot + 1 ) , poly2 );
272
+ addPrim (current -> ot + 1 , poly2 );
273
273
current -> primptr += sizeof (POLY_G4 );
274
274
275
275
// draw contours
@@ -291,7 +291,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
291
291
lineF4 -> y2 = max_y ;
292
292
lineF4 -> y3 = max_y ;
293
293
294
- addPrim (( u_long * )( current -> ot + 1 ) , lineF4 );
294
+ addPrim (current -> ot + 1 , lineF4 );
295
295
current -> primptr += sizeof (LINE_F4 );
296
296
297
297
LINE_F2 * lineF2 = (LINE_F2 * )current -> primptr ;
@@ -306,7 +306,7 @@ void DrawPercentageBar(PERCENTAGE_BAR *bar)
306
306
lineF2 -> x1 = min_x - 1 ;
307
307
lineF2 -> y1 = max_y ;
308
308
309
- addPrim (( u_long * )( current -> ot + 1 ) , lineF2 );
309
+ addPrim (current -> ot + 1 , lineF2 );
310
310
current -> primptr += sizeof (LINE_F2 );
311
311
312
312
TransparencyOn (current -> ot + 1 , 0x20 );
@@ -439,7 +439,7 @@ void DrawProximityBar(PERCENTAGE_BAR *bar)
439
439
lineF4 -> y2 = max_y ;
440
440
lineF4 -> y3 = max_y ;
441
441
442
- addPrim (( u_long * )( current -> ot + 1 ) , lineF4 );
442
+ addPrim (current -> ot + 1 , lineF4 );
443
443
current -> primptr += sizeof (LINE_F4 );
444
444
445
445
LINE_F2 * lineF2 = (LINE_F2 * )current -> primptr ;
@@ -454,7 +454,7 @@ void DrawProximityBar(PERCENTAGE_BAR *bar)
454
454
lineF2 -> x1 = min_x - 1 ;
455
455
lineF2 -> y1 = max_y ;
456
456
457
- addPrim (( u_long * )( current -> ot + 1 ) , lineF2 );
457
+ addPrim (current -> ot + 1 , lineF2 );
458
458
current -> primptr += sizeof (LINE_F2 );
459
459
460
460
TransparencyOn (current -> ot + 1 , 0x20 );
0 commit comments