summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-15 06:51:14 +0000
committerbde <bde@FreeBSD.org>1998-07-15 06:51:14 +0000
commit259a90a05b5995a148aa435efc140c260cb2696b (patch)
tree1bdb5ac6b3e1d8362fa4c2e884e21129c018917b /sbin/fdisk
parent6e847632809dec9a840a4278f162d18639f6dbde (diff)
downloadFreeBSD-src-259a90a05b5995a148aa435efc140c260cb2696b.zip
FreeBSD-src-259a90a05b5995a148aa435efc140c260cb2696b.tar.gz
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.
Diffstat (limited to 'sbin/fdisk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud