cvs commit: src/sys/i386/include atomic.h

Bruce Evans bde at FreeBSD.org
Sun Nov 16 18:11:14 PST 2003


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


More information about the cvs-src mailing list