Fix C++ build. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4737 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-11-07 22:07:14 +00:00
parent b3f55d014e
commit e5923955ef
2 changed files with 4 additions and 4 deletions

View file

@ -276,7 +276,7 @@ void OSD_WriteCvars(FILE *fp);
static inline void OSD_SetHistory(int32_t histIdx, const char *src)
{
osd->history.buf[histIdx] = Xmalloc(OSDEDITLENGTH);
osd->history.buf[histIdx] = (char *)Xmalloc(OSDEDITLENGTH);
Bstrncpyz(osd->history.buf[histIdx], src, OSDEDITLENGTH);
}

View file

@ -510,7 +510,7 @@ number from 0 to 2^_B_^--1.
4. If the truncated value is outside the range of representable values for the
corresponding integer type of bit width _B_, the final value is obtained by
successively adding or subtracting 2^B^, until the value falls inside that
successively adding or subtracting 2^_B_^, until the value falls inside that
range.
//////////
@ -989,8 +989,8 @@ Returns the result of the `updatesector` call.
[[sprite_power]] `spr^zofs`::
Returns an <<vector_types,`xmath.ivec3`>> object that contains the position of
this sprite, diminished by `zofs` in the z direction. Because in BUILD, z
coordinates increase toward the floor, the `^` can be thought of as ``raise the
sprite by `zofs` units''.
coordinates increase toward the floor, the `^` can be thought of as the
position of the sprite ``raised by `zofs` units''.
===== `sprite` static data