From b6b536727b7e3cb0dc0463ab6a4bdec757ff466b Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Tue, 12 Nov 2013 16:15:59 +0100 Subject: Minor changes. --- csim/sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csim/sim.c') diff --git a/csim/sim.c b/csim/sim.c index 56c061b..db2c736 100644 --- a/csim/sim.c +++ b/csim/sim.c @@ -30,7 +30,7 @@ t_machine *init_machine (t_program *p) { char *o = p->vars[i].name + 1; while (*o) { if (*o == '1') m->var_values[i] |= a; - a >>= 1; + a <<= 1; o++; } } -- cgit v1.2.3