Fix "byte" usage in test programs too
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 26 Nov 2007 11:51:44 +0000 (13:51 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 26 Nov 2007 11:51:44 +0000 (13:51 +0200)
lib/tplatform.c
rpmio/thkp.c
rpmio/tring.c

index 798cb86..ae698df 100644 (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;
index 4b06c12..c57b2ea 100644 (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;
index 713360a..f9d6b0c 100644 (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;