diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 09:48:09 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:15 +0100 |
commit | dbf470ade138d431f8082b1f523cedfd6ae2203b (patch) | |
tree | 6fb58c94e789c103e7495b47963eb84012979ecd /vcl/unx | |
parent | 939b55cfa8a52d32d20bfc89105342b508c080b8 (diff) |
WaE: narrowing conversion
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/wmadaptor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index b812e2143bae..ecccb03e3314 100644 --- a/vcl/unx/generic/app/wmadaptor.cxx +++ b/vcl/unx/generic/app/wmadaptor.cxx @@ -2404,7 +2404,7 @@ void WMAdaptor::setPID( X11SalFrame* i_pFrame ) const void WMAdaptor::setClientMachine( X11SalFrame* i_pFrame ) const { rtl::OString aWmClient( rtl::OUStringToOString( GetGenericData()->GetHostname(), RTL_TEXTENCODING_ASCII_US ) ); - XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, aWmClient.getLength() }; + XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, sal::static_int_cast<unsigned long>( aWmClient.getLength() ) }; XSetWMClientMachine( m_pDisplay, i_pFrame->GetShellWindow(), &aClientProp ); } |