Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 07:33:29 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/tools/regression/fstest fstest.c
Message-ID:  <200902230733.n1N7XYmS086019@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2009-02-23 07:33:29 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/fstest fstest.c 
  Log:
  SVN rev 188934 on 2009-02-23 07:33:29Z by pjd
  
  Add explicit casting in few places.
  
  It is only really necessary for open(2)'s third argument, which is optional and
  obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64
  bits. On little endian it works, because we take lower 32 bits, but on big
  endian platforms we take upper 32 bits, so we end up with 0.
  
  Reported by:    Milan Čermák <Milan.Cermak@Sun.COM>
  
  Revision  Changes    Path
  1.4       +12 -12    src/tools/regression/fstest/fstest.c



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