Skip to content

Commit a7de4f1

Browse files
committed
Fix invalid cast
1 parent 12ad52c commit a7de4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data-model-providers/codegen/CodegenDataModelProvider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ CHIP_ERROR FetchGeneratedCommands(const ConcreteClusterPath & path, const EmberA
193193
}
194194
return Loop::Continue;
195195
},
196-
reinterpret_cast<void *>(&result)));
196+
reinterpret_cast<void *>(&enumerationData)));
197197
ReturnErrorOnFailure(enumerationData.processingError);
198198

199199
// the two invocations MUST return the same sizes.

0 commit comments

Comments
 (0)