Skip to content

Commit

Permalink
Fix const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Jul 22, 2024
1 parent 58a20a1 commit 8c0e212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mat4.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Mat_Create4(const char *matname)
* @endif
*/
int
Mat_VarWrite4(mat_t *mat, const matvar_t *matvar)
Mat_VarWrite4(const mat_t *mat, const matvar_t *matvar)
{
#if defined(MATIO_LE) || defined(MATIO_BE)
typedef struct
Expand Down
2 changes: 1 addition & 1 deletion src/mat4.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

EXTERN mat_t *Mat_Create4(const char *matname);

EXTERN int Mat_VarWrite4(mat_t *mat, const matvar_t *matvar);
EXTERN int Mat_VarWrite4(const mat_t *mat, const matvar_t *matvar);
EXTERN int Mat_VarRead4(mat_t *mat, matvar_t *matvar);
EXTERN int Mat_VarReadData4(mat_t *mat, const matvar_t *matvar, void *data, const int *start,
const int *stride, const int *edge);
Expand Down

0 comments on commit 8c0e212

Please sign in to comment.