Summary: | htons() gives warning if compiled with gcc -Wconversion | ||
---|---|---|---|
Product: | glibc | Reporter: | Johan <johan162> |
Component: | libc | Assignee: | Andreas Jaeger <aj> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aj, andersk |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.10 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Johan
2010-11-05 07:03:34 UTC
Changed in git. Shouldn’t the same change (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=69da074d7adfab7b57004a0dea9403a928e310a5) be applied to sysdeps/s390/bits/byteswap.h and the generic bits/byteswap.h? thanks, patch send: http://sourceware.org/ml/libc-alpha/2012-06/msg00550.html Fixed for glibc 2.16 now with: commit 2174c6dd8555f654c30df2f8f3321b69e0f736f8 Author: Andreas Jaeger <aj@suse.de> Date: Thu Jun 21 15:49:33 2012 +0200 Avoid -Wconversion warning for htons |