Module: wine Branch: refs/heads/master Commit: 919d14c577bfb9262b6bd9f74e64fa60f0cc85c0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=919d14c577bfb9262b6bd9f7...
Author: Eric Kohl eric.kohl@t-online.de Date: Sat Mar 18 14:33:08 2006 +0100
widl: 'unsigned char' and 'byte' are must be distinct types.
---
tools/widl/parser.y | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 77219d8..eb00304 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -576,7 +576,7 @@ base_type: tBYTE { $$ = make_type(RPC | tSIGNED int_std { $$ = $2; $$->sign = 1; } | tUNSIGNED int_std { $$ = $2; $$->sign = -1; switch ($$->type) { - case RPC_FC_CHAR: $$->type = RPC_FC_BYTE; $$->sign = 0; break; + case RPC_FC_CHAR: break; case RPC_FC_SMALL: $$->type = RPC_FC_USMALL; break; case RPC_FC_SHORT: $$->type = RPC_FC_USHORT; break; case RPC_FC_LONG: $$->type = RPC_FC_ULONG; break;