[WIDL 1/3] 'unsigned char' and 'byte' are must be distinct types

Eric Kohl eric.kohl at t-online.de
Sat Mar 18 07:33:08 CST 2006


ChangeLog:
Eric Kohl <eric.kohl at t-online.de>
'unsigned char' and 'byte' are must be distinct types.

-------------- next part --------------
Index: tools/widl/parser.y
===================================================================
RCS file: /home/wine/wine/tools/widl/parser.y,v
retrieving revision 1.63
diff -u -r1.63 parser.y
--- tools/widl/parser.y	9 Feb 2006 11:51:32 -0000	1.63
+++ tools/widl/parser.y	18 Mar 2006 11:23:43 -0000
@@ -576,7 +576,7 @@
 	| 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;



More information about the wine-patches mailing list