Date: Tue, 15 Aug 2006 02:27:43 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103950 for review Message-ID: <200608150227.k7F2RhIX083767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103950 Change 103950 by jb@jb_freebsd2 on 2006/08/15 02:26:59 Fix compiler warnings. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/common/ctf/ctf_types.c#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/common/ctf/ctf_types.c#2 (text) ==== @@ -309,7 +309,7 @@ ctf_type_name(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) { ssize_t rv = ctf_type_lname(fp, type, buf, len); - return (rv >= 0 && rv < len ? buf : NULL); + return (rv >= 0 && rv < (ssize_t) len ? buf : NULL); } /* @@ -368,7 +368,7 @@ ssize_t ctf_type_align(ctf_file_t *fp, ctf_id_t type) { - const ctf_type_t *tp; + ctf_type_t *tp; ctf_arinfo_t r; if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) @@ -391,7 +391,7 @@ case CTF_K_UNION: { uint_t n = LCTF_INFO_VLEN(fp, tp->ctt_info); ssize_t size, increment; - size_t align = 0; + ssize_t align = 0; const void *vmp; (void) ctf_get_ctt_size(fp, tp, &size, &increment);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150227.k7F2RhIX083767>