aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llgldbg.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llrender/llgldbg.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/llrender/llgldbg.cpp')
-rw-r--r--linden/indra/llrender/llgldbg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llrender/llgldbg.cpp b/linden/indra/llrender/llgldbg.cpp
index 4d9f5f9..ab35353 100644
--- a/linden/indra/llrender/llgldbg.cpp
+++ b/linden/indra/llrender/llgldbg.cpp
@@ -89,8 +89,8 @@ char *fv4(F32 *f)
89//------------------------------------------------------------------------ 89//------------------------------------------------------------------------
90char *fv3(F32 *f) 90char *fv3(F32 *f)
91{ 91{
92 static char str[128]; 92 static char str[128]; /* Flawfinder: ignore */
93 sprintf(str, "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); 93 snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */
94 return str; 94 return str;
95} 95}
96 96
@@ -99,8 +99,8 @@ char *fv3(F32 *f)
99//------------------------------------------------------------------------ 99//------------------------------------------------------------------------
100char *fv1(F32 *f) 100char *fv1(F32 *f)
101{ 101{
102 static char str[128]; 102 static char str[128]; /* Flawfinder: ignore */
103 sprintf(str, "%8.3f", f[0]); 103 snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */
104 return str; 104 return str;
105} 105}
106 106