fix cache.c

This commit is contained in:
hxy7yx
2025-06-16 02:31:40 -07:00
parent 750ac85102
commit 28318e785b
+1 -1
View File
@@ -496,7 +496,7 @@ void neu_driver_cache_update_change(neu_driver_cache_t *cache,
value.value.bytes.length) {
elem->changed = true;
} else {
if (memcpy(elem->value.value.bytes.bytes,
if (memcmp(elem->value.value.bytes.bytes,
value.value.bytes.bytes,
value.value.bytes.length) != 0) {
elem->changed = true;