Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 04:20:55 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/growfs growfs.c
Message-ID:  <201009200421.o8K4LE2v010551@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2010-09-20 04:20:55 UTC

  FreeBSD src repository

  Modified files:
    sbin/growfs          growfs.c 
  Log:
  SVN rev 212886 on 2010-09-20 04:20:55Z by marcel
  
  Unbreak the build on strong-aligned architectures (arm, ia64).
  Casting from (char *) to (struct ufs1_dinode *) changes the
  alignment requirement of the pointer and GCC does not know that
  the pointer is adequately aligned (due to malloc(3)), and warns
  about it. Cast to (void *) first to by-pass the check.
  
  Revision  Changes    Path
  1.32      +1 -1      src/sbin/growfs/growfs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009200421.o8K4LE2v010551>