Re: [PATCH 1/2] LoongArch: Add pad structure members for explicit alignment
From: Xi Ruoyao
Date: Thu Apr 20 2023 - 00:28:57 EST
On Thu, 2023-04-20 at 12:24 +0800, Xi Ruoyao wrote:
> undefined behavior. `printf(PRIu16 "\n", ptr->dbg_info);` is an
> undefined behavior if ptr->dbg_info is a int16_t, because the standard
^^^^^^^ uint64_t
:(
--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University