diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/lldxhardware.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llwindow/lldxhardware.cpp b/linden/indra/llwindow/lldxhardware.cpp index 5dd632b..b2e1b04 100644 --- a/linden/indra/llwindow/lldxhardware.cpp +++ b/linden/indra/llwindow/lldxhardware.cpp | |||
@@ -66,16 +66,16 @@ std::string get_string(IDxDiagContainer *containerp, WCHAR *wszPropName) | |||
66 | switch( var.vt ) | 66 | switch( var.vt ) |
67 | { | 67 | { |
68 | case VT_UI4: | 68 | case VT_UI4: |
69 | swprintf( wszPropValue, L"%d", var.ulVal ); | 69 | swprintf( wszPropValue, L"%d", var.ulVal ); /* Flawfinder: ignore */ |
70 | break; | 70 | break; |
71 | case VT_I4: | 71 | case VT_I4: |
72 | swprintf( wszPropValue, L"%d", var.lVal ); | 72 | swprintf( wszPropValue, L"%d", var.lVal ); /* Flawfinder: ignore */ |
73 | break; | 73 | break; |
74 | case VT_BOOL: | 74 | case VT_BOOL: |
75 | wcscpy( wszPropValue, (var.boolVal) ? L"true" : L"false" ); | 75 | wcscpy( wszPropValue, (var.boolVal) ? L"true" : L"false" ); /* Flawfinder: ignore */ |
76 | break; | 76 | break; |
77 | case VT_BSTR: | 77 | case VT_BSTR: |
78 | wcsncpy( wszPropValue, var.bstrVal, 255 ); | 78 | wcsncpy( wszPropValue, var.bstrVal, 255 ); /* Flawfinder: ignore */ |
79 | wszPropValue[255] = 0; | 79 | wszPropValue[255] = 0; |
80 | break; | 80 | break; |
81 | } | 81 | } |