Module: wine Branch: refs/heads/master Commit: dd57b45aaabcb840f031e1c3aa31619f986aa504 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=dd57b45aaabcb840f031e1c3...
Author: Eric Kohl eric.kohl@t-online.de Date: Fri Feb 3 18:47:06 2006 +0100
widl: The 'string' attribute can also be used with unsigned characters.
---
tools/widl/typegen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 546e693..1c1002e 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -577,7 +577,7 @@ static size_t write_string_tfs(FILE *fil int has_size = size_is && (size_is->type != EXPR_VOID); size_t start_offset = *typestring_offset;
- if ((type->type != RPC_FC_CHAR) && (type->type != RPC_FC_WCHAR)) + if ((type->type != RPC_FC_BYTE) && (type->type != RPC_FC_CHAR) && (type->type != RPC_FC_WCHAR)) { error("write_string_tfs: Unimplemented for type 0x%x of name: %s\n", type->type, name); return start_offset;