bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32230: 27.0.50; GCC 7 warning due to -Wformat-overflow


From: Eli Zaretskii
Subject: bug#32230: 27.0.50; GCC 7 warning due to -Wformat-overflow
Date: Sat, 21 Jul 2018 15:47:43 +0300

> Cc: 32230@debbugs.gnu.org, eggert@cs.ucla.edu
> From: Ken Brown <kbrown@cornell.edu>
> Date: Sat, 21 Jul 2018 08:42:09 -0400
> 
> > I meant sprintf, of course.  And if the above is the reason, then
> > perhaps using something like
> > 
> >    (unsigned int) glyph->u.glyphless.ch & 0xffffff
> > 
> > is a cleaner solution (assuming it shuts up the warning)?
> 
> Yes, it does shut up the warning.  Thanks, I'll make that change.  I 
> assume it should go to master, or would you rather have it in the 
> emacs-26 branch?

I think it should go to master, thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]