Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 13b863a

Browse files
authoredMay 18, 2020
Corrected get_long_long signature to match other get_ functions
1 parent cc3b59c commit 13b863a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/cs50.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Based on Eric Roberts' genlib.c and simpio.c.
66
*
7-
* Copyright (c) 2019
7+
* Copyright (c) 2020
88
* All rights reserved
99
*
1010
* BSD 3-Clause License
@@ -403,7 +403,7 @@ long get_long(const char *format, ...)
403403
* [-2^63, 2^63 - 1) or would cause underflow or overflow, user is
404404
* prompted to retry. If line can't be read, returns LLONG_MAX.
405405
*/
406-
long long get_long_long(const string format, ...)
406+
long long get_long_long(const char *format, ...)
407407
{
408408
va_list ap;
409409
va_start(ap, format);

0 commit comments

Comments
 (0)
Please sign in to comment.