@@ -545,11 +545,11 @@ pg_lltoa(int64 value, char *a)
545
545
* The intended use-case for this function is to build strings that contain
546
546
* multiple individual numbers, for example:
547
547
*
548
- * str = pg_ltostr_zeropad (str, hours, 2);
548
+ * str = pg_ultostr_zeropad (str, hours, 2);
549
549
* *str++ = ':';
550
- * str = pg_ltostr_zeropad (str, mins, 2);
550
+ * str = pg_ultostr_zeropad (str, mins, 2);
551
551
* *str++ = ':';
552
- * str = pg_ltostr_zeropad (str, secs, 2);
552
+ * str = pg_ultostr_zeropad (str, secs, 2);
553
553
* *str = '\0';
554
554
*
555
555
* Note: Caller must ensure that 'str' points to enough memory to hold the
@@ -578,7 +578,7 @@ pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth)
578
578
}
579
579
580
580
/*
581
- * pg_ltostr
581
+ * pg_ultostr
582
582
* Converts 'value' into a decimal string representation stored at 'str'.
583
583
*
584
584
* Returns the ending address of the string result (the last character written
@@ -587,9 +587,9 @@ pg_ultostr_zeropad(char *str, uint32 value, int32 minwidth)
587
587
* The intended use-case for this function is to build strings that contain
588
588
* multiple individual numbers, for example:
589
589
*
590
- * str = pg_ltostr (str, a);
590
+ * str = pg_ultostr (str, a);
591
591
* *str++ = ' ';
592
- * str = pg_ltostr (str, b);
592
+ * str = pg_ultostr (str, b);
593
593
* *str = '\0';
594
594
*
595
595
* Note: Caller must ensure that 'str' points to enough memory to hold the
0 commit comments