freebsd-ports/textproc/redisearch/files/patch-src_numeric__index.c
Sergey A. Osokin a00d50aa7a Fix the build issue on i386 platform.
Do not bump PORTREVISION cause the port has no successful build on i386.
2020-02-29 20:57:10 +00:00

11 lines
657 B
C

--- src/numeric_index.c.orig 2020-02-29 20:43:50 UTC
+++ src/numeric_index.c
@@ -474,7 +474,7 @@ int NumericIndexType_Register(RedisModuleCtx *ctx) {
.rdb_save = NumericIndexType_RdbSave,
.aof_rewrite = GenericAofRewrite_DisabledHandler,
.free = NumericIndexType_Free,
- .mem_usage = NumericIndexType_MemUsage};
+ .mem_usage = (const void *)NumericIndexType_MemUsage};
NumericIndexType = RedisModule_CreateDataType(ctx, "numericdx", NUMERIC_INDEX_ENCVER, &tm);
if (NumericIndexType == NULL) {