[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66473] libgroff/font.cpp: warning of type "-Wformat="
From: |
G. Branden Robinson |
Subject: |
[bug #66473] libgroff/font.cpp: warning of type "-Wformat=" |
Date: |
Sat, 30 Nov 2024 04:05:49 -0500 (EST) |
Update of bug #66473 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #3:
commit ef296d8353dd32609b0a2a512d9287d5f8383eb7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Nov 21 21:15:18 2024 -0600
[libgroff]: Fix Savannah #66473.
* src/libs/libgroff/font.cpp (font::load): Declare `start_code` and
`end_code` as `unsigned` integers, since Unicode code points cannot be
negative, and we are using the sscanf(3) conversion specifier `%X` to
read them from a font description file.
Fixes <https://savannah.gnu.org/bugs/?66473>. Thanks to Bjarni Ingi
Gislason for the report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66473>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature