1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 23:34:49 -05:00

Add a missing const in uint64_from_decimal.

This commit is contained in:
Simon Tatham 2018-10-21 13:19:54 +01:00
parent 76a32c514c
commit cf8a421fa2
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ uint64 uint64_shift_left(uint64 x, int shift)
return x;
}
uint64 uint64_from_decimal(char *str)
uint64 uint64_from_decimal(const char *str)
{
uint64 ret;
ret.hi = ret.lo = 0;

View File

@ -21,7 +21,7 @@ uint64 uint64_subtract(uint64 x, uint64 y);
double uint64_to_double(uint64 x);
uint64 uint64_shift_right(uint64 x, int shift);
uint64 uint64_shift_left(uint64 x, int shift);
uint64 uint64_from_decimal(char *str);
uint64 uint64_from_decimal(const char *str);
void BinarySink_put_uint64(BinarySink *, uint64);
uint64 BinarySource_get_uint64(BinarySource *);