aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog.txt8
-rw-r--r--linden/doc/contributions.txt1
-rw-r--r--linden/indra/llmessage/lltemplatemessagereader.cpp3
-rw-r--r--linden/indra/llwindow/llwindowsdl.cpp1
4 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index ba63c8b..f9581cc 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,13 @@
12009-11-18 Jacek Antonelli <jacek.antonelli@gmail.com> 12009-11-18 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * VWR-12620: Linux compile fails with -O2 (--type=Release)
4 Patch by Alissa Sabre.
5
6 modified: doc/contributions.txt
7 modified: indra/llmessage/lltemplatemessagereader.cpp
8 modified: indra/llwindow/llwindowsdl.cpp
9
10
3 * Removed prepackaged libstdc++ (Linux only). Fixes VWR-12404. 11 * Removed prepackaged libstdc++ (Linux only). Fixes VWR-12404.
4 12
5 modified: linden/indra/cmake/ViewerMiscLibs.cmake 13 modified: linden/indra/cmake/ViewerMiscLibs.cmake
diff --git a/linden/doc/contributions.txt b/linden/doc/contributions.txt
index 2acb043..64304dc 100644
--- a/linden/doc/contributions.txt
+++ b/linden/doc/contributions.txt
@@ -64,6 +64,7 @@ Alissa Sabre
64 VWR-7086 64 VWR-7086
65 VWR-9190 65 VWR-9190
66 VWR-10728 66 VWR-10728
67 VWR-12620
67Angus Boyd 68Angus Boyd
68 VWR-592 69 VWR-592
69Argent Stonecutter 70Argent Stonecutter
diff --git a/linden/indra/llmessage/lltemplatemessagereader.cpp b/linden/indra/llmessage/lltemplatemessagereader.cpp
index 7a7d3bb..12ffcfa 100644
--- a/linden/indra/llmessage/lltemplatemessagereader.cpp
+++ b/linden/indra/llmessage/lltemplatemessagereader.cpp
@@ -675,8 +675,7 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender
675 675
676 // default to 0s. 676 // default to 0s.
677 U32 size = mvci.getSize(); 677 U32 size = mvci.getSize();
678 std::vector<U8> data(size); 678 std::vector<U8> data(size, 0);
679 memset(&(data[0]), 0, size);
680 cur_data_block->addData(mvci.getName(), &(data[0]), 679 cur_data_block->addData(mvci.getName(), &(data[0]),
681 size, mvci.getType()); 680 size, mvci.getType());
682 } 681 }
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp
index 5209e6f..c3427d6 100644
--- a/linden/indra/llwindow/llwindowsdl.cpp
+++ b/linden/indra/llwindow/llwindowsdl.cpp
@@ -2273,6 +2273,7 @@ BOOL LLWindowSDL::dialog_color_picker ( F32 *r, F32 *g, F32 *b)
2273 GtkColorSelection *colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG(win)->colorsel); 2273 GtkColorSelection *colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG(win)->colorsel);
2274 2274
2275 GdkColor color, orig_color; 2275 GdkColor color, orig_color;
2276 orig_color.pixel = 0;
2276 orig_color.red = guint16(65535 * *r); 2277 orig_color.red = guint16(65535 * *r);
2277 orig_color.green= guint16(65535 * *g); 2278 orig_color.green= guint16(65535 * *g);
2278 orig_color.blue = guint16(65535 * *b); 2279 orig_color.blue = guint16(65535 * *b);