summaryrefslogtreecommitdiff
path: root/indra/llrender/llgldbg.cpp
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-02-02 17:28:58 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-02-02 17:28:58 +0000
commit305c74d5163c5e344a675d39ca2394a9e45bd2c2 (patch)
tree42836c4a6010b2b015156024d3cfb6bf64a48ad6 /indra/llrender/llgldbg.cpp
parent54d89549df38bb61881583a3eb8d3645c107d79f (diff)
Result of svn merge -r57264:57370 svn+ssh://svn/svn/linden/branches/adroit.r40-68 into release.
Diffstat (limited to 'indra/llrender/llgldbg.cpp')
-rw-r--r--indra/llrender/llgldbg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llrender/llgldbg.cpp b/indra/llrender/llgldbg.cpp
index 146560f43d..d19ca2c309 100644
--- a/indra/llrender/llgldbg.cpp
+++ b/indra/llrender/llgldbg.cpp
@@ -70,8 +70,8 @@ char *fv4(F32 *f)
//------------------------------------------------------------------------
char *fv3(F32 *f)
{
- static char str[128];
- sprintf(str, "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]);
+ static char str[128]; /* Flawfinder: ignore */
+ snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */
return str;
}
@@ -80,8 +80,8 @@ char *fv3(F32 *f)
//------------------------------------------------------------------------
char *fv1(F32 *f)
{
- static char str[128];
- sprintf(str, "%8.3f", f[0]);
+ static char str[128]; /* Flawfinder: ignore */
+ snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */
return str;
}