RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall
Root: /v/rpm/cvs Email: [EMAIL PROTECTED]
Module: rpm Date: 10-Jul-2007 20:48:13
Branch: HEAD Handle: 2007071019481300
Modified files:
rpm/build files.c
Log:
we have to cast the pointer to pointer-to-pointer usage and use the
correct size for pgpReadPkts
Summary:
Revision Changes Path
1.247 +3 -3 rpm/build/files.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/build/files.c
============================================================================
$ cvs diff -u -r1.246 -r1.247 files.c
--- rpm/build/files.c 10 Jul 2007 11:27:41 -0000 1.246
+++ rpm/build/files.c 10 Jul 2007 18:48:13 -0000 1.247
@@ -1139,8 +1139,8 @@
static int dncmp(const void * a, const void * b)
/[EMAIL PROTECTED]/
{
- const char ** aurlp = a;
- const char ** burlp = b;
+ const char ** aurlp = (const char **)a;
+ const char ** burlp = (const char **)b;
const char * adn;
const char * bdn;
(void) urlPath(*aurlp, &adn);
@@ -1961,7 +1961,7 @@
const char * fn = NULL;
const char * apkt = NULL;
const unsigned char * pkt = NULL;
- ssize_t pktlen = 0;
+ size_t pktlen = 0;
int absolute = 0;
int rc = 1;
int xx;
@@ .
______________________________________________________________________
RPM Package Manager http://rpm5.org
CVS Sources Repository [email protected]