diff options
Diffstat (limited to 'vcl/unx/generic/gdi/x11windowprovider.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/x11windowprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/x11windowprovider.cxx b/vcl/unx/generic/gdi/x11windowprovider.cxx index 03a7adfe18de..ec1cb09a074b 100644 --- a/vcl/unx/generic/gdi/x11windowprovider.cxx +++ b/vcl/unx/generic/gdi/x11windowprovider.cxx @@ -32,7 +32,7 @@ Display *OpenX11Display(OString& rDisplay) sal_uInt32 nParams = osl_getCommandArgCount(); OUString aParam; - for (sal_uInt16 i=0; i<nParams; i++) + for (sal_uInt32 i=0; i<nParams; i++) { osl_getCommandArg(i, &aParam.pData); if ( aParam == "-display" ) |