Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 23:51:17 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
Subject:   cvs commit: src/sys/kern vfs_aio.c
Message-ID:  <199807150651.XAA25028@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/07/14 23:51:17 PDT

  Modified files:
    sys/kern             vfs_aio.c 
  Log:
  Cast between longs and pointers via intptr_t.  There shouldn't be
  nearly so many casts here.  Casting an pointer that was an integer
  back to an integer just to compare it with -1 is bad, and casting
  it back just to compare it with NULL is just wrong.
  
  Revision  Changes    Path
  1.32      +17 -17    src/sys/kern/vfs_aio.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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