Fix "byte" usage in test programs too

This commit is contained in:
Panu Matilainen 2007-11-26 13:51:44 +02:00
parent 95c55a1af9
commit 7ac39db1f4
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ static int nplatpat = 0;
static int rpmPlatform(void)
{
char *cpu = NULL, *vendor = NULL, *os = NULL, *gnu = NULL;
byte * b = NULL;
uint8_t * b = NULL;
ssize_t blen = 0;
int init_platform = 0;
char * p, * pe;

View File

@ -41,9 +41,9 @@ static unsigned int keyids[] = {
static int readKeys(const char * uri)
{
unsigned int * kip;
const byte * pkt;
const uint8_t * pkt;
size_t pktlen;
byte keyid[8];
uint8_t keyid[8];
char fn[BUFSIZ];
pgpDig dig;
int rc;

View File

@ -26,7 +26,7 @@ main (int argc, const char *argv[])
{
poptContext optCon = poptGetContext(argv[0], argc, argv, optionsTable, 0);
pgpDig dig;
const byte * pkt = NULL;
const uint8_t * pkt = NULL;
size_t pktlen;
const char ** args;
const char * fn;