File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
include/tao/json/internal Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -178,14 +178,14 @@ namespace tao
178178
179179 size *= 8 ;
180180
181- M[ 63 ] = size;
182- M[ 62 ] = size >> 8 ;
183- M[ 61 ] = size >> 16 ;
184- M[ 60 ] = size >> 24 ;
185- M[ 59 ] = size >> 32 ;
186- M[ 58 ] = size >> 40 ;
187- M[ 57 ] = size >> 48 ;
188- M[ 56 ] = size >> 56 ;
181+ M[ 63 ] = static_cast < unsigned char >( size ) ;
182+ M[ 62 ] = static_cast < unsigned char >( size >> 8 ) ;
183+ M[ 61 ] = static_cast < unsigned char >( size >> 16 ) ;
184+ M[ 60 ] = static_cast < unsigned char >( size >> 24 ) ;
185+ M[ 59 ] = static_cast < unsigned char >( size >> 32 ) ;
186+ M[ 58 ] = static_cast < unsigned char >( size >> 40 ) ;
187+ M[ 57 ] = static_cast < unsigned char >( size >> 48 ) ;
188+ M[ 56 ] = static_cast < unsigned char >( size >> 56 ) ;
189189
190190 process ();
191191
You can’t perform that action at this time.
0 commit comments