diff options
author | Pablo Barciela <[email protected]> | 2019-03-15 05:10:56 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-14 03:00:04 +0200 |
commit | 17853bced259fb720d738f59efc0af4ee5578a26 (patch) | |
tree | 2a1d0702f9c0fe2a8d95602cddc248ece6b92fc9 /libcaja-private/caja-view-factory.h | |
parent | 3f597e10f76d7fb2a1d70bfdd86275cd737c3f96 (diff) | |
download | caja-17853bced259fb720d738f59efc0af4ee5578a26.tar.bz2 caja-17853bced259fb720d738f59efc0af4ee5578a26.tar.xz |
eggsmclient-xsmp: Fix cast from non-struct type to struct type
Fixes Clang static analyzer warning:
eggsmclient-xsmp.c:1156:18: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
prop->vals = (SmPropValue *)vals->data;
^~~~~~~~~~~~~~~~~~~~~~~~~
eggsmclient-xsmp.c:1189:18: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
prop->vals = (SmPropValue *)vals->data;
^~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'libcaja-private/caja-view-factory.h')
0 files changed, 0 insertions, 0 deletions