Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 11:49:20 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 130696 for review
Message-ID:  <200712121149.lBCBnKEu006725@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130696

Change 130696 by gcooper@shiina-ibook on 2007/12/12 11:48:28

	Use size_t instead of unsigned int (for platform portability?). I just find size_t more consistent with use of sizeof(..).

Affected files ...

.. //depot/projects/soc2007/revised_fbsd_pkgtools/pkg_revised/v2/contrib/libpkg/pkg_db_freebsd.c#6 edit

Differences ...

==== //depot/projects/soc2007/revised_fbsd_pkgtools/pkg_revised/v2/contrib/libpkg/pkg_db_freebsd.c#6 (text+ko) ====

@@ -326,9 +326,9 @@
 	struct dirent *de;
 	char *dir;
 	struct pkg **packages;
-	unsigned int packages_size;
+	size_t packages_size;
 	unsigned int packages_pos;
-	
+
 	assert(db != NULL);
 	assert(db->db_base != NULL);
 



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