diff options
Diffstat (limited to 'include/lv2')
-rw-r--r-- | include/lv2/atom/forge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lv2/atom/forge.h b/include/lv2/atom/forge.h index 5656079..d651d70 100644 --- a/include/lv2/atom/forge.h +++ b/include/lv2/atom/forge.h @@ -147,6 +147,7 @@ lv2_atom_forge_init(LV2_Atom_Forge* forge, LV2_URID_Map* map) static inline LV2_Atom* lv2_atom_forge_deref(LV2_Atom_Forge* forge, LV2_Atom_Forge_Ref ref) { + // NOLINTNEXTLINE(performance-no-int-to-ptr) return forge->buf ? (LV2_Atom*)ref : forge->deref(forge->handle, ref); } |