You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2025/01/09 03:48:16 UTC

(openoffice) 22/27: Fix a 0 vs NULL pointer ambiguity on Win64.

This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch windows-amd64
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 93b3eead64a4d12f2a16a4dbf761f11f776827bd
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Sat Jan 4 19:31:21 2025 +0200

    Fix a 0 vs NULL pointer ambiguity on Win64.
    
    Patch by: me
---
 main/cui/source/options/optdict.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/cui/source/options/optdict.cxx b/main/cui/source/options/optdict.cxx
index 4df2d2f7c2..406dace551 100644
--- a/main/cui/source/options/optdict.cxx
+++ b/main/cui/source/options/optdict.cxx
@@ -548,8 +548,8 @@ void SvxEditDictionaryDialog::ShowWords_Impl( sal_uInt16 nId )
 
 	if (aWordsLB.GetEntryCount())
 	{
-		aWordED	  .SetText( aWordsLB.GetEntryText(0LU, 0) );
-		aReplaceED.SetText( aWordsLB.GetEntryText(0LU, 1) );
+		aWordED	  .SetText( aWordsLB.GetEntryText(sal_uLong(0LU), 0) );
+		aReplaceED.SetText( aWordsLB.GetEntryText(sal_uLong(0LU), 1) );
 	}
 
 	LeaveWait();