Skip to content

Commit

Permalink
Update jfuse-api/src/main/java/org/cryptomator/jfuse/api/util/MemoryU…
Browse files Browse the repository at this point in the history
…tils.java

Co-authored-by: Sebastian Stenzel <overheadhunter@users.noreply.github.com>
  • Loading branch information
infeo and overheadhunter committed Oct 19, 2023
1 parent 63281af commit a0b9c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ public static String toUtf8StringOrNull(MemorySegment string, long offset) {

@Nullable
public static String toUtf8StringOrNull(MemorySegment string) {
return MemorySegment.NULL.equals(string) ? null : string.getUtf8String(0);
return toUtf8StringOrNull(string, 0);
}
}

0 comments on commit a0b9c0b

Please sign in to comment.