Skip to content

Commit

Permalink
use address template for 1.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Sep 21, 2024
1 parent 87cf7d1 commit b0409bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimhdf5/attributes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ proc readStringArrayAttribute(attr: H5Attr, npoints: hssize_t): seq[string] =
result = newSeq[string](npoints)
for i, s in buf:
result[i] = $s
discard H5free_memory(s[0].addr)
discard H5free_memory(s[0].address)

proc readStringAttribute(attr: H5Attr): string =
## proc to read a string attribute from a H5 file, for an existing
Expand Down

0 comments on commit b0409bc

Please sign in to comment.