Configure fix and warning fix for Go

This commit is contained in:
William S Fulton 2015-03-14 23:40:30 +00:00
commit 7fa1058a8a
2 changed files with 59 additions and 55 deletions

View file

@ -6314,7 +6314,7 @@ private:
String *ct = Getattr(n, "emit:cgotype");
if (ct) {
*c_struct_type = (bool)Getattr(n, "emit:cgotypestruct");
*c_struct_type = Getattr(n, "emit:cgotypestruct") ? true : false;
return Copy(ct);
}