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) {