View | Details | Raw Unified | Return to bug 264007
Collapse All | Expand All

(-)b/editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp (-1 / +9 lines)
Lines 18-20 Link Here
18
 					chrC |= atoh( chr );
18
 					chrC |= atoh( chr );
19
 					//chrC = (atoh( RenderedHexByte.ToAscii()[0] ) << 4) | atoh( RenderedHexByte.ToAscii()[1] );
19
 					//chrC = (atoh( RenderedHexByte.ToAscii()[0] ) << 4) | atoh( RenderedHexByte.ToAscii()[1] );
20
 
20
 
21
- 
21
@@ -2365,7 +2365,7 @@ cpformat(a)
22
 			else if(i==0x7E)
23
 				newCP += wxChar(0x203E);//Overline
24
 			else if(i<0x80)
25
-				newCP += ((i<0x20 || i==0x7F)	? '.' : wxChar(i));
26
+				newCP += static_cast<int>((i<0x20 || i==0x7F)	? '.' : wxChar(i));
27
 			else if( i>=0xA1 && i<0xE0)
28
 				newCP += wxChar(i-0xA0+0xFF60);
29
 			else

Return to bug 264007