File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33
44extern int __CPROVER_rounding_mode ;
55
6- void __asm_fnstcw (unsigned short * dest )
6+ void __asm_fnstcw (void * dest )
77{
88 // the rounding mode is bits 10 and 11 in the control word
9- * dest = __CPROVER_rounding_mode << 10 ;
9+ * ( unsigned short * ) dest = __CPROVER_rounding_mode << 10 ;
1010}
1111
1212/* FUNCTION: __asm_fstcw */
1313
1414extern int __CPROVER_rounding_mode ;
1515
16- void __asm_fstcw (unsigned short * dest )
16+ void __asm_fstcw (void * dest )
1717{
1818 // the rounding mode is bits 10 and 11 in the control word
19- * dest = __CPROVER_rounding_mode << 10 ;
19+ * ( unsigned short * ) dest = __CPROVER_rounding_mode << 10 ;
2020}
2121
2222/* FUNCTION: __asm_fldcw */
2323
2424extern int __CPROVER_rounding_mode ;
2525
26- void __asm_fldcw (const unsigned short * src )
26+ void __asm_fldcw (void * src )
2727{
2828 // the rounding mode is bits 10 and 11 in the control word
29- __CPROVER_rounding_mode = ((* src )>> 10 )& 3 ;
29+ __CPROVER_rounding_mode = ((* ( const unsigned short * ) src ) >> 10 ) & 3 ;
3030}
3131
3232/* FUNCTION: __asm_mfence */
You can’t perform that action at this time.
0 commit comments