diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llrender/llgldbg.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llgldbg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llrender/llgldbg.cpp b/linden/indra/llrender/llgldbg.cpp index 953ba3a..526215b 100644 --- a/linden/indra/llrender/llgldbg.cpp +++ b/linden/indra/llrender/llgldbg.cpp | |||
@@ -43,7 +43,7 @@ | |||
43 | //------------------------------------------------------------------------ | 43 | //------------------------------------------------------------------------ |
44 | // cmstr() | 44 | // cmstr() |
45 | //------------------------------------------------------------------------ | 45 | //------------------------------------------------------------------------ |
46 | char *cmstr(int i) | 46 | const char *cmstr(int i) |
47 | { | 47 | { |
48 | switch( i ) | 48 | switch( i ) |
49 | { | 49 | { |
@@ -59,7 +59,7 @@ char *cmstr(int i) | |||
59 | //------------------------------------------------------------------------ | 59 | //------------------------------------------------------------------------ |
60 | // facestr() | 60 | // facestr() |
61 | //------------------------------------------------------------------------ | 61 | //------------------------------------------------------------------------ |
62 | char *facestr(int i) | 62 | const char *facestr(int i) |
63 | { | 63 | { |
64 | switch( i ) | 64 | switch( i ) |
65 | { | 65 | { |
@@ -81,7 +81,7 @@ const char *boolstr(int b) | |||
81 | //------------------------------------------------------------------------ | 81 | //------------------------------------------------------------------------ |
82 | // fv4() | 82 | // fv4() |
83 | //------------------------------------------------------------------------ | 83 | //------------------------------------------------------------------------ |
84 | char *fv4(F32 *f) | 84 | const char *fv4(F32 *f) |
85 | { | 85 | { |
86 | static char str[128]; | 86 | static char str[128]; |
87 | sprintf(str, "%8.3f %8.3f %8.3f %8.3f", f[0], f[1], f[2], f[3]); | 87 | sprintf(str, "%8.3f %8.3f %8.3f %8.3f", f[0], f[1], f[2], f[3]); |
@@ -91,7 +91,7 @@ char *fv4(F32 *f) | |||
91 | //------------------------------------------------------------------------ | 91 | //------------------------------------------------------------------------ |
92 | // fv3() | 92 | // fv3() |
93 | //------------------------------------------------------------------------ | 93 | //------------------------------------------------------------------------ |
94 | char *fv3(F32 *f) | 94 | const char *fv3(F32 *f) |
95 | { | 95 | { |
96 | static char str[128]; /* Flawfinder: ignore */ | 96 | static char str[128]; /* Flawfinder: ignore */ |
97 | snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */ | 97 | snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */ |
@@ -101,7 +101,7 @@ char *fv3(F32 *f) | |||
101 | //------------------------------------------------------------------------ | 101 | //------------------------------------------------------------------------ |
102 | // fv1() | 102 | // fv1() |
103 | //------------------------------------------------------------------------ | 103 | //------------------------------------------------------------------------ |
104 | char *fv1(F32 *f) | 104 | const char *fv1(F32 *f) |
105 | { | 105 | { |
106 | static char str[128]; /* Flawfinder: ignore */ | 106 | static char str[128]; /* Flawfinder: ignore */ |
107 | snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */ | 107 | snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */ |