File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ BigInt::digits (onedig_t b) const
561561
562562
563563char *
564- BigInt::as_string (char *p, unsigned l, onedig_t b) const
564+ BigInt::as_string (char *p, std:: size_t l, onedig_t b) const
565565{
566566 if (l < 2 )
567567 return 0 ; // Not enough room for number.
@@ -615,9 +615,9 @@ BigInt::dump (unsigned char *p, unsigned n)
615615 }
616616 // Determine number m of characters needed.
617617 onedig_t d = *--t;
618- unsigned i = sizeof (onedig_t );
618+ std:: size_t i = sizeof (onedig_t );
619619 while (--i && (d >> i * CHAR_BIT) == 0 );
620- unsigned m = ++i + (t - digit) * sizeof (onedig_t );
620+ std:: size_t m = ++i + (t - digit) * sizeof (onedig_t );
621621 // Fill in leading zeroes.
622622 if (m > n)
623623 {
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public:
187187
188188 // Convert into string, right adjusted in field of specified width.
189189 // Returns pointer to start of number or NULL if field too small.
190- char *as_string (char *, unsigned , onedig_t = 10 ) const _fasta;
190+ char *as_string (char *, std:: size_t , onedig_t = 10 ) const _fasta;
191191
192192 // Convert to/from a binary representation.
193193
You can’t perform that action at this time.
0 commit comments