Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 18:11:13 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/include atomic.h
Message-ID:  <200311170211.hAH2BDqr053374@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2003/11/16 18:11:13 PST

  FreeBSD src repository

  Modified files:
    sys/i386/include     atomic.h 
  Log:
  Avoid a warning for compiling with `gcc -Wbad-function cast'.  (This
  is the warning that points to the bug in `(char *)malloc(...)' where
  malloc() is implicitly declared as returning int.  We do similar things
  here, but they work because u_int is the same as uintptr_t on i386's.)
  
  Revision  Changes    Path
  1.30      +5 -1      src/sys/i386/include/atomic.h



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