Skip to content

Commit 48ecec1

Browse files
lantigaDvirDukhan
authored andcommitted
Fix argument passing for tensor dtype (#597)
1 parent 01ee275 commit 48ecec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialization/AOF/rai_aof_rewrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ void RAI_AOFRewriteTensor(RedisModuleIO *aof, RedisModuleString *key, void *valu
44
RAI_Tensor *tensor = (RAI_Tensor *)value;
55

66
char dtypestr[64];
7-
Tensor_DataTypeStr(RAI_TensorDataType(tensor), &dtypestr);
7+
Tensor_DataTypeStr(RAI_TensorDataType(tensor), dtypestr);
88

99
char *data = RAI_TensorData(tensor);
1010
long long size = RAI_TensorByteSize(tensor);

0 commit comments

Comments
 (0)