Skip to content

Commit

Permalink
Merge pull request #82 from ami-iit/fix_compilation_matio_1_5_17
Browse files Browse the repository at this point in the history
Fix compilation matio 1 5 27
  • Loading branch information
S-Dafarra authored May 21, 2024
2 parents 842ba12 + 27497b0 commit 6a06e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# BSD-2-Clause license (https://opensource.org/licenses/BSD-2-Clause).

cmake_minimum_required(VERSION 3.10)
project(matioCpp VERSION 0.2.4 LANGUAGES CXX)
project(matioCpp VERSION 0.2.5 LANGUAGES CXX)

# Defines the CMAKE_INSTALL_LIBDIR, CMAKE_INSTALL_BINDIR and many other useful macros.
# See https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
Expand Down
2 changes: 1 addition & 1 deletion src/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ std::vector<std::string> matioCpp::File::variableNames() const
if (isOpen())
{
size_t list_size;
char** list = Mat_GetDir(m_pimpl->mat_ptr, &list_size);
char* const* list = Mat_GetDir(m_pimpl->mat_ptr, &list_size);

outputNames.resize(list_size);
for (size_t i = 0; i < list_size; ++i)
Expand Down

0 comments on commit 6a06e5c

Please sign in to comment.