X-Git-Url: http://git.hcoop.net/bpt/coccinelle.git/blobdiff_plain/e6509c05b4c77bb8fcffa7f454c1412fcc0c3a15..5626f154460b8f6fc435bb3ee75c8297b1155a69:/parsing_c/type_annoter_c.ml diff --git a/parsing_c/type_annoter_c.ml b/parsing_c/type_annoter_c.ml index c8be32c..5779ee0 100644 --- a/parsing_c/type_annoter_c.ml +++ b/parsing_c/type_annoter_c.ml @@ -611,8 +611,8 @@ let annotater_expr_visitor_subpart = (fun (k,bigf) expr -> (* -------------------------------------------------- *) (* todo: should analyse the 's' for int to know if unsigned or not *) - | Constant (String (s,kind)) -> make_info_def (type_of_s "char *") - | Constant MultiString _ -> make_info_def (type_of_s "char *") + | Constant (String (s,kind)) -> make_info_def (type_of_s "char []") + | Constant MultiString _ -> make_info_def (type_of_s "char []") | Constant (Char (s,kind)) -> make_info_def (type_of_s "char") | Constant (Int (s,kind)) -> (* this seems really unpleasant, but perhaps the type needs to be set