use long long int for printf compatibility

This commit is contained in:
Krishna Vedala 2020-04-08 09:48:04 -04:00
parent de027fe4ff
commit 63206ab47a
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ int main(int argc, char *argv[])
char ch;
uint8_t num, num_prev;
uint8_t *buffer = NULL;
int64_t prod = 1, max_prod = 0;
long long int prod = 1, max_prod = 0;
/* if second command-line argument is given,
* use it as the number of digits to compute