summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 23:27:31 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 23:29:11 +0200
commit710f5dd271572b0f0362857c3f13ef25b6301bfe (patch)
tree060d1d7b4f8c2e961892d762f0c3cef052acab5f /vcl/source/control
parent29c101fe68ad1794744ec576f9d020eb56bba4cd (diff)
Remove some warnings on mingw64
Change-Id: I4fbb543e19ecba879f9982dd4bb8442d77854526
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/lstbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 31dfde2ac5e7..4b5c1a43f898 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -198,7 +198,7 @@ void ListBox::ImplLoadRes( const ResId& rResId )
{
sal_uInt16 nPos = InsertEntry( ReadStringRes(), LISTBOX_APPEND );
- long nId = ReadLongRes();
+ sal_IntPtr nId = ReadLongRes();
if( nId )
SetEntryData( nPos, (void *)nId ); // ID as UserData
}