Hi Alan, hi Jan,
On Tue, Feb 16, 2010 at 09:16:47PM +0100, Alan Pevec wrote:
- int pos = *(int *)t-data;
+ const unsigned char *data = t-data;
+ int pos = *(const int *)data;
I have to admit these changes look a bit like cast to different types
until the
On Tuesday 2010-03-09 21:39, Alan Pevec wrote:
On Tue, Feb 16, 2010 at 09:16:47PM +0100, Alan Pevec wrote:
- int pos = *(int *)t-data;
+ const unsigned char *data = t-data;
+ int pos = *(const int *)data;
I have to admit these changes look a bit like cast
From: Jan Engelhardt jeng...@medozas.de
libiptc: avoid strict-aliasing warnings
In file included from libiptc/libip4tc.c:117:0:
libiptc/libiptc.c: In function ‘__iptcc_p_del_policy’:
libiptc/libiptc.c:826:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules