Rob Shearman : widl: Missing size_is or length_is attributes should generate 0xffffffff for the correlation description .
Alexandre Julliard
julliard at winehq.org
Tue Sep 18 05:31:09 CDT 2007
Module: wine
Branch: master
Commit: cf983bf15d8f5ad69762c130d1b8fbc0c57ce549
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf983bf15d8f5ad69762c130d1b8fbc0c57ce549
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Sep 17 23:24:14 2007 +0100
widl: Missing size_is or length_is attributes should generate 0xffffffff for the correlation description.
---
tools/widl/typegen.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index f585c1f..e90c9ec 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -494,6 +494,12 @@ static size_t write_conf_or_var_desc(FILE *file, const type_t *structure,
const char *operator_string = "no operators";
const expr_t *subexpr;
+ if (!expr)
+ {
+ print_file(file, 2, "NdrFcLong(0xffffffff),\t/* -1 */\n");
+ return 4;
+ }
+
if (!structure)
{
/* Top-level conformance calculations are done inline. */
More information about the wine-cvs
mailing list