Resolve a series of Xcode (LLVM compiler) warnings

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9735 387891d4-d844-0410-90c0-e4c51a9137d3
This commit is contained in:
Echelon9 authored and niffiwan committed 2013-08-06 22:55:14 +10:00
1 parent 59762a4db7
commit fb33fe020b
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -4753,7 +4753,7 @@ ADE_FUNC(__tostring, l_Object, NULL, "Returns name of object (if any)", "string"
sprintf(buf, "%s projectile", Weapon_info[Weapons[objh->objp->instance].weapon_info_index].name);
break;
default:
sprintf(buf, "Object %d [%d]", OBJ_INDEX(objh->objp), objh->sig);
sprintf(buf, "Object %ld [%d]", OBJ_INDEX(objh->objp), objh->sig);
}
return ade_set_args(L, "s", buf);