Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177639611
D61613.1794919983.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
568 B
Referenced Files
None
Subscribers
None
D61613.1794919983.diff
View Options
diff --git a/usr.bin/localedef/messages.c b/usr.bin/localedef/messages.c
--- a/usr.bin/localedef/messages.c
+++ b/usr.bin/localedef/messages.c
@@ -100,9 +100,9 @@
* CLDR likes to add : separated lists for yesstr and nostr.
* Legacy Solaris code does not seem to grok this. Fix it.
*/
- if ((ptr = strchr(msgs.yesstr, ':')) != NULL)
+ if ((ptr = strchr((char *)msgs.yesstr, ':')) != NULL)
*ptr = 0;
- if ((ptr = strchr(msgs.nostr, ':')) != NULL)
+ if ((ptr = strchr((char *)msgs.nostr, ':')) != NULL)
*ptr = 0;
if ((f = open_category()) == NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 12:53 PM (16 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41799846
Default Alt Text
D61613.1794919983.diff (568 B)
Attached To
Mode
D61613: localedef: Build with C23 strchr()
Attached
Detach File
Event Timeline