Skip to content

Commit

Permalink
combipow: we only allow up to 63 lines, not 64
Browse files Browse the repository at this point in the history
  • Loading branch information
philsmd committed Feb 13, 2017
1 parent ba32961 commit da9886d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combipow.c
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ typedef uint64_t u64;
#define true 1
#define LINE_SIZE 64
#define LINE_LIMIT 15 + 1 /* we add one to the limit for the null terminator */
#define MAX_LINES 64 /* this is the limit of using a single unsigned 64-bit integer */
#define MAX_LINES 63 /* this is the limit of using a single unsigned 64-bit integer */
/* exceeding this count will cause the counters to wrap */

int usage (char *progname)

0 comments on commit da9886d

Please sign in to comment.