- fixed several warnings emitted by Clang.
This commit is contained in:
parent
9c3907136d
commit
47b76180d6
12 changed files with 21 additions and 16 deletions
|
|
@ -99,7 +99,7 @@ void FNodeBuilder::FixSplitSharers (const node_t &node)
|
|||
|
||||
// Use the CRT's printf so the formatting matches ZDBSP's
|
||||
D(char buff[200]);
|
||||
D(sprintf(buff, "Considering events on seg %d(%d[%d,%d]->%d[%d,%d]) [%g:%g]\n", seg,
|
||||
D(snprintf(buff, sizeof(buff), "Considering events on seg %d(%d[%d,%d]->%d[%d,%d]) [%g:%g]\n", seg,
|
||||
Segs[seg].v1,
|
||||
Vertices[Segs[seg].v1].x>>16,
|
||||
Vertices[Segs[seg].v1].y>>16,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue