parent
b19010159c
commit
47e9ed6e06
|
@ -195,7 +195,9 @@ def int31(data, platform):
|
|||
if to_value_type is None or not from_values:
|
||||
continue
|
||||
bits = None
|
||||
if to_value_type.type == 'char':
|
||||
if token.valueType.pointer > 0:
|
||||
bits = platform.pointer_bit
|
||||
elif to_value_type.type == 'char':
|
||||
bits = platform.char_bit
|
||||
elif to_value_type.type == 'short':
|
||||
bits = platform.short_bit
|
||||
|
|
|
@ -82,6 +82,11 @@ void int31(int x)
|
|||
unsigned char c;
|
||||
c = 256;
|
||||
c = -1;
|
||||
|
||||
// issue #10782
|
||||
uint16_t * ptr;
|
||||
uint32_t var = 65536;
|
||||
ptr = (uint16_t *)var;
|
||||
}
|
||||
|
||||
void env33()
|
||||
|
|
Loading…
Reference in New Issue