From: bg Date: Thu, 3 Apr 2008 16:44:51 +0000 (+0000) Subject: fix of a little bug X-Git-Url: https://git.cryptolib.org/?a=commitdiff_plain;h=1578e34f55859fc867dfa56360e4c26f8a225d60;p=avr-crypto-lib.git fix of a little bug --- diff --git a/nessie_bc_test.c b/nessie_bc_test.c index 6614735..fdad8e1 100644 --- a/nessie_bc_test.c +++ b/nessie_bc_test.c @@ -117,7 +117,7 @@ static void print_set_vector(uint8_t set, uint16_t vector){ uart_putc('0'+set%10); uart_putstr_P(PSTR(", vector#")); uart_putc((vector<100)?' ':'0'+vector/100); - uart_putc((vector<100)?' ':'0'+(vector/10)%10); + uart_putc((vector<10 )?' ':'0'+(vector/10)%10); uart_putc('0'+vector%10); uart_putc(':'); }