From 42f2634e36cea55a2b2db8f446f97385d0239703 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 31 May 2007 09:33:19 +0000 Subject: #i10000# TL: cast nRID to USHORT to avoid warning. --- starmath/inc/smmod.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'starmath/inc/smmod.hxx') diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index f5e51ce267dc..bf978d41923a 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -4,9 +4,9 @@ * * $RCSfile: smmod.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: rt $ $Date: 2007-05-31 10:02:39 $ + * last change: $Author: rt $ $Date: 2007-05-31 10:33:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -90,7 +90,7 @@ class SmNamesArray : public Resource public: SmNamesArray( LanguageType nLang, int nRID ) : Resource( SmResId(RID_LOCALIZED_NAMES) ), - aNamesAry (SmResId(nRID)), + aNamesAry (SmResId( static_cast < USHORT > ( nRID ))), nLanguage (nLang) { FreeResource(); -- cgit