diff options
author | Pablo Barciela <[email protected]> | 2019-03-15 16:26:51 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-14 03:00:04 +0200 |
commit | b84cf3f49d7b6ff47aace071129e9fec033b9a5e (patch) | |
tree | 07328678a4baac71502d7b95e14a38c928bdab0a /docs/caja.faq | |
parent | 17853bced259fb720d738f59efc0af4ee5578a26 (diff) | |
download | caja-b84cf3f49d7b6ff47aace071129e9fec033b9a5e.tar.bz2 caja-b84cf3f49d7b6ff47aace071129e9fec033b9a5e.tar.xz |
caja-property-browser: Fix cast from non-struct type to struct type
Fixes Clang static analyzer warnings:
caja-property-browser.c:1242:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER (data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
caja-property-browser.c:1414:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER (data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
caja-property-browser.c:1450:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER(data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'docs/caja.faq')
0 files changed, 0 insertions, 0 deletions