← Commit list

df1689138

Denys Vlasenko
Denys Vlasenko
2011-01-16
FAILED Duration: 268s

Subject

remove a few aliasing warnings

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libarchive/get_header_tar.c+1 -1
@@ -199,7 +199,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle)
uint16_t magic2;
autodetect:
- magic2 = *(uint16_t*)tar.name;
+ magic2 = *(bb__aliased_uint16_t*)tar.name;
/* tar gz/bz autodetect: check for gz/bz2 magic.
* If we see the magic, and it is the very first block,
* we can switch to get_header_tar_gz/bz2/lzma().
networking/udhcp/dhcprelay.c+1 -1
@@ -25,7 +25,7 @@ struct xid_item {
uint32_t xid;
struct sockaddr_in ip;
struct xid_item *next;
-};
+} FIX_ALIASING;
#define dhcprelay_xid_list (*(struct xid_item*)&bb_common_bufsiz1)