Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2006 19:57:49 -0500
From:      Andrew <andrew.chace@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   programming question: u_char vs. uint32_t
Message-ID:  <1146790669.3352.38.camel@LatitudeFC5.network>

next in thread | raw e-mail | index | archive | help
Hello all,

I'm reading through /usr/src/sys/dd/dd.h, and I noticed the following
lines:

39      u_char          *db;            /* buffer address */
40	u_char          *dbp;           /* current buffer I/O address */

Why was u_char used instead of uint32_t? Aren't pointers always 32 bits
on a 32 bit machine?

Thanks,
Andrew




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