Hi all,
The previous vbi AMD64 patch introduced some warnings in several utilities.
These are fixed by this patch.
Hans
diff -ru ivtv-0.3.4p/utils/ivtvctl.c ivtv-0.3.4p-64/utils/ivtvctl.c
--- ivtv-0.3.4p/utils/ivtvctl.c 2005-05-11 20:26:06.000000000 +0200
+++ ivtv-0.3.4p-64/utils/ivtvctl.c 2005-05-14 23:51:35.000000000 +0200
@@ -1615,7 +1615,7 @@
if (ioctl(fd, IVTV_IOC_G_VBI_MODE, &vbi_fmt) < 0)
fprintf(stderr, "ioctl: IVTV_IOC_G_VBI_MODE failed\n");
else {
- printf("vbi service set = %08lx\n",
+ printf("vbi service set = %08x\n",
vbi_fmt.service_set);
}
}
@@ -1625,7 +1625,7 @@
if (ioctl(fd, IVTV_IOC_S_VBI_MODE, &vbi_fmt) < 0)
fprintf(stderr, "ioctl: IVTV_IOC_S_VBI_MODE failed\n");
else
- printf("set vbi service_set = %08lx\n",
+ printf("set vbi service_set = %08x\n",
vbi_fmt.service_set);
}
diff -ru ivtv-0.3.4p/utils/vbi.c ivtv-0.3.4p-64/utils/vbi.c
--- ivtv-0.3.4p/utils/vbi.c 2005-03-22 17:11:25.000000000 +0100
+++ ivtv-0.3.4p-64/utils/vbi.c 2005-05-14 23:51:23.000000000 +0200
@@ -446,7 +446,7 @@
return 1;
}
- printf("%08lx, %ld, %ld\n", fmt.service_set, fmt.packet_size,
+ printf("%08x, %d, %d\n", fmt.service_set, fmt.packet_size,
fmt.io_size);
buf = malloc(fmt.io_size);
for (;;) {
diff -ru ivtv-0.3.4p/utils/wss.c ivtv-0.3.4p-64/utils/wss.c
--- ivtv-0.3.4p/utils/wss.c 2005-03-22 17:11:25.000000000 +0100
+++ ivtv-0.3.4p-64/utils/wss.c 2005-05-14 23:51:15.000000000 +0200
@@ -66,7 +66,7 @@
exit(1);
}
ioctl(fh, IVTV_IOC_G_VBI_MODE, &fmt);
- printf("%08lx, %ld, %ld\n", fmt.service_set, fmt.packet_size,
+ printf("%08x, %d, %d\n", fmt.service_set, fmt.packet_size,
fmt.io_size);
buf = malloc(fmt.io_size);
p = (struct ivtv_sliced_data *)buf;