summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index 0038c0cf1c..7215f7948f 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -202,7 +202,7 @@ class LLFileUploadImage : public view_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
- const char* filename = upload_pick((void *)(S32)LLFilePicker::FFLOAD_IMAGE);
+ const char* filename = upload_pick((void *)LLFilePicker::FFLOAD_IMAGE);
if (filename)
{
LLFloaterImagePreview* floaterp = new LLFloaterImagePreview(filename);
@@ -216,7 +216,7 @@ class LLFileUploadSound : public view_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
- const char* filename = upload_pick((void*)((S32)LLFilePicker::FFLOAD_WAV));
+ const char* filename = upload_pick((void*)LLFilePicker::FFLOAD_WAV);
if (filename)
{
LLFloaterNameDesc* floaterp = new LLFloaterNameDesc(filename);
@@ -230,7 +230,7 @@ class LLFileUploadAnim : public view_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
- const char* filename = upload_pick((void*)((S32)LLFilePicker::FFLOAD_ANIM));
+ const char* filename = upload_pick((void*)LLFilePicker::FFLOAD_ANIM);
if (filename)
{
LLFloaterAnimPreview* floaterp = new LLFloaterAnimPreview(filename);