diff --git a/src/owniptc/libip4tc.c b/src/owniptc/libip4tc.c
index 66abb44c2f3d1718b05956b23b9aac95183e9653..bf7327cd87936fb07ec6b18d241d0fe8cffe1333 100644 (file)
--- a/src/owniptc/libip4tc.c
+++ b/src/owniptc/libip4tc.c
t = GET_TARGET(e);
printf("Target name: `%s' [%u]\n", t->u.user.name, t->u.target_size);
if (strcmp(t->u.user.name, STANDARD_TARGET) == 0) {
t = GET_TARGET(e);
printf("Target name: `%s' [%u]\n", t->u.user.name, t->u.target_size);
if (strcmp(t->u.user.name, STANDARD_TARGET) == 0) {
- int pos = *(int *)t->data;
+ const unsigned char *data = t->data;
+ int pos = *(const int *)data;
if (pos < 0)
printf("verdict=%s\n",
pos == -NF_ACCEPT-1 ? "NF_ACCEPT"
if (pos < 0)
printf("verdict=%s\n",
pos == -NF_ACCEPT-1 ? "NF_ACCEPT"