# HG changeset patch # User Markus Bröker # Date 1282140918 -7200 # Node ID 0b5befeb361e844a3301218184f22849af5299f6 # Parent 05d42a3737a49e061e8858091f16957d3099dcb2 getbits: calculates the proper value but showed a different one diff --git a/getbits.c b/getbits.c --- a/getbits.c +++ b/getbits.c @@ -29,7 +29,7 @@ int main (void) { unsigned int i; - char *s = strdup (getbits (255)); + char *s = strdup (getbits (0)); for (i = 240; i < 255; i++) printf ("%s %s %s %s (%d)\n", s, s, s, getbits (i), i);