#45529: fc_strrep_resize() should use SIZE_T_PRINTF Open Date: 2022-08-31 05:24 Last Update: 2022-09-30 03:39 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45529 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45529 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-30 03:39 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from 3.1.0 to 3.0.4 Comment: While SIZE_T_PRINTF is available in S3_1 & master only, there's a typofix part on this patch that is applicable to S3_0. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.4 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: fc_strrep_resize() has: fc_assert_ret_val_msg(... ": %lu." ... (long unsigned int)*len) Should just use SIZE_T_PRINTF. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45529 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45529