summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pl7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 8d213f7b2..88ee2c5a1 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -605,7 +605,7 @@ get_hw_address(const char* ifname)
RETVAL = NULL;
return;
}
- a = ifr.ifr_hwaddr.sa_data;
+ a = (unsigned char*)ifr.ifr_hwaddr.sa_data;
asprintf(&res, "%02x:%02x:%02x:%02x:%02x:%02x", a[0],a[1],a[2],a[3],a[4],a[5]);
RETVAL= res;
OUTPUT:
@@ -761,11 +761,6 @@ const char *
rpmErrorString()
void
-rpmSetVeryVerbose()
- CODE:
- rpmSetVerbosity(RPMMESS_DEBUG);
-
-void
rpmErrorSetCallback(fd)
int fd
CODE: