From 2b655a29a4e4d7e343884b85742aed8a033b6eef Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 7 Apr 2000 12:04:36 +0000 Subject: Changing code to ensure no warnings are produced by compilers. --- src/WindowAccessor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WindowAccessor.cxx') diff --git a/src/WindowAccessor.cxx b/src/WindowAccessor.cxx index e1e8ed876..059c877bd 100644 --- a/src/WindowAccessor.cxx +++ b/src/WindowAccessor.cxx @@ -105,7 +105,7 @@ void WindowAccessor::ColourTo(unsigned int pos, int chAttr) { chFlags = 0; chAttr |= chFlags; for (unsigned int i = startSeg; i <= pos; i++) { - styleBuf[validLen++] = chAttr; + styleBuf[validLen++] = static_cast(chAttr); } } } -- cgit v1.2.3