mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-12-31 13:49:07 +03:00
cstylecasts suppress,fixes
This commit is contained in:
@@ -112,6 +112,7 @@ struct hs_database {
|
||||
|
||||
static really_inline
|
||||
const void *hs_get_bytecode(const struct hs_database *db) {
|
||||
// cppcheck-suppress cstyleCast
|
||||
return ((const char *)db + db->bytecode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user