Skip to content

Commit 574c694

Browse files
committed
obx_opt_max_db_size_in_kb() was changed to accept uint64_t
1 parent 25899f8 commit 574c694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objectbox/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (builder *Builder) BuildOrError() (*ObjectBox, error) {
149149
}
150150

151151
if builder.maxSizeInKb != nil {
152-
C.obx_opt_max_db_size_in_kb(cOptions, C.size_t(*builder.maxSizeInKb))
152+
C.obx_opt_max_db_size_in_kb(cOptions, C.uint64_t(*builder.maxSizeInKb))
153153
}
154154

155155
if builder.maxReaders != nil {

0 commit comments

Comments
 (0)