Skip to content
  • Peter Tyser's avatar
    mkimage: Fix strict-aliasing compiler warning · a2513e27
    Peter Tyser authored
    
    
    Version 4.2.4 of gcc produces the following warnings without this change:
      mkimage.c: In function ‘main’:
      mkimage.c:204: warning: dereferencing type-punned pointer will break strict-aliasing rules
      mkimage.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
    
    Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
    a2513e27