top: when did scale_mem parm lose 'unsigned' qualifier
Well, for some strange unknown reason it happened in a commit referenced below. But this patch reverts it and puts this newlib scale_mem on par with the master guy. [ a little more research reveals that it should have ] [ been reverted in the 2nd commit shown. that's when ] [ types were fixed after XTRA_PROCPS_DEBUG was used. ] Reference(s): . when 'unsigned' qualifier lost commit911083bf76. when 'unsigned' qualifier not restored commit105058ae2d. when XTRA_PROCPS_DEBUG validation introduced commite3270d463dSigned-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -585,7 +585,7 @@ typedef struct WIN_t {
|
||||
//atic inline const char *make_num (long num, int width, int justr, int col, int noz);
|
||||
//atic inline const char *make_str (const char *str, int width, int justr, int col);
|
||||
//atic inline const char *make_str_utf8 (const char *str, int width, int justr, int col);
|
||||
//atic const char *scale_mem (int target, long num, int width, int justr);
|
||||
//atic const char *scale_mem (int target, unsigned long num, int width, int justr);
|
||||
//atic const char *scale_num (unsigned long num, int width, int justr);
|
||||
//atic const char *scale_pcnt (float num, int width, int justr);
|
||||
//atic const char *scale_tics (TIC_t tics, int width, int justr);
|
||||
|
||||
Reference in New Issue
Block a user