Fix format string conversion mismatches
This commit is contained in:
parent
120be17304
commit
e6d33a7a88
|
@ -601,7 +601,7 @@ void assign_uvs_to_side(segment *segp, int sidenum, uvl *uva, uvl *uvb, int va,
|
|||
mag01 = fixmul(mag01, Stretch_scale_y);
|
||||
|
||||
if (mag01 < F1_0/1024 )
|
||||
editor_status_fmt("U, V bogosity in segment #%i, probably on side #%i. CLEAN UP YOUR MESS!", segp-Segments, sidenum);
|
||||
editor_status_fmt("U, V bogosity in segment #%hu, probably on side #%i. CLEAN UP YOUR MESS!", (unsigned short)(segp-Segments), sidenum);
|
||||
else {
|
||||
vm_vec_sub(&tvec,&Vertices[v2],&Vertices[v1]);
|
||||
uvls[(vhi+1)%4].u = uvhi.u +
|
||||
|
|
|
@ -511,7 +511,7 @@ int player_is_visible_from_object(object *objp, vms_vector *pos, fix field_of_vi
|
|||
if (segnum == -1) {
|
||||
fq.startseg = objp->segnum;
|
||||
*pos = objp->pos;
|
||||
con_printf(CON_DEBUG, "Object %i, gun is outside mine, moving towards center.\n", objp-Objects);
|
||||
con_printf(CON_DEBUG, "Object %hu, gun is outside mine, moving towards center.\n", (unsigned short)(objp-Objects));
|
||||
move_towards_segment_center(objp);
|
||||
} else
|
||||
fq.startseg = segnum;
|
||||
|
@ -1360,7 +1360,7 @@ void move_object_to_legal_spot(object *objp)
|
|||
}
|
||||
|
||||
// Int3(); // Darn you John, you done it again! (But contact Mike)
|
||||
con_printf(CON_DEBUG, "Note: Killing robot #%i because he's badly stuck outside the mine.\n", objp-Objects);
|
||||
con_printf(CON_DEBUG, "Note: Killing robot #%hu because he's badly stuck outside the mine.\n", (unsigned short)(objp-Objects));
|
||||
|
||||
apply_damage_to_robot(objp, objp->shields*2, objp-Objects);
|
||||
}
|
||||
|
@ -1564,7 +1564,7 @@ int create_gated_robot( int segnum, int object_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
con_printf(CON_DEBUG, "Gating in object %i in segment %i\n", objnum, segp-Segments);
|
||||
con_printf(CON_DEBUG, "Gating in object %hu in segment %hu\n", (unsigned short)objnum, (unsigned short)(segp-Segments));
|
||||
|
||||
#ifdef NETWORK
|
||||
Net_create_objnums[0] = objnum; // A convenient global to get objnum back to caller for multiplayer
|
||||
|
|
|
@ -3028,7 +3028,7 @@ void newdemo_playback_one_frame()
|
|||
num_objs = Highest_object_index;
|
||||
cur_objs = (object *)d_malloc(sizeof(object) * (num_objs + 1));
|
||||
if (cur_objs == NULL) {
|
||||
Warning ("Couldn't get %d bytes for objects in interpolate playback\n", sizeof(object) * num_objs);
|
||||
Warning ("Couldn't get %lu bytes for objects in interpolate playback\n", sizeof(object) * num_objs);
|
||||
break;
|
||||
}
|
||||
for (i = 0; i <= num_objs; i++)
|
||||
|
|
Loading…
Reference in a new issue