FAQ
Reviewers: golang-dev_googlegroups.com,

Message:
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/go


Description:
cmd/gc: fix typo in clear slim.

Fixes build failure.

Please review this at http://codereview.appspot.com/6847043/

Affected files:
M src/cmd/gc/gen.c


Index: src/cmd/gc/gen.c
===================================================================
--- a/src/cmd/gc/gen.c
+++ b/src/cmd/gc/gen.c
@@ -649,7 +649,7 @@
switch(simtype[n->type->etype]) {
case TCOMPLEX64:
case TCOMPLEX128:
- z.val.u.cval = mal(sizeof(z.val.u.cval));
+ z.val.u.cval = mal(sizeof(*z.val.u.cval));
mpmovecflt(&z.val.u.cval->real, 0.0);
mpmovecflt(&z.val.u.cval->imag, 0.0);
break;

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 13, '12 at 5:31a
activeNov 13, '12 at 5:32p
posts2
users2
websitegolang.org

2 users in discussion

Russ Cox: 1 post Remyoudompheng: 1 post

People

Translate

site design / logo © 2022 Grokbase