From af3580dff4c4099398a3be37ca0cb7454a7e7ce2 Mon Sep 17 00:00:00 2001 From: Syping Date: Thu, 25 May 2023 23:30:26 +0200 Subject: [PATCH] libragephoto 0.4.1 release RagePhotoA: fix setData() pointer passthrough --- CMakeLists.txt | 2 +- src/RagePhotoA.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 36c211f..4d0428c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ ****************************************************************************]] cmake_minimum_required(VERSION 3.8) -project(ragephoto VERSION 0.4.0 LANGUAGES CXX) +project(ragephoto VERSION 0.4.1 LANGUAGES CXX) include(GNUInstallDirs) # RagePhoto CMake includes diff --git a/src/RagePhotoA.h b/src/RagePhotoA.h index c94b979..c37a3d0 100644 --- a/src/RagePhotoA.h +++ b/src/RagePhotoA.h @@ -302,7 +302,7 @@ public: if (takeCopy) return ragephoto_setphotodatac(instance, ragePhotoData); else - return ragephoto_setphotodata(&instance, ragePhotoData); + return ragephoto_setphotodata(instance, ragePhotoData); } /** Sets the Photo description. */ void setDescription(const char *description, uint32_t bufferSize = 0) {