summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage.c b/src/storage.c
index 1935ae7..b5b50ec 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -69,7 +69,7 @@ internal_registerComponent(storage_t *storage, const char *name, size_t size)
};
}
-void * // NULL if component with such name is not found
+char * // NULL if component with such name is not found
internal_addComponent(storage_t *this, entity_t idx, const char *name)
{
component_pair_t *pair = findPair(this, name);
@@ -86,7 +86,7 @@ internal_addComponent(storage_t *this, entity_t idx, const char *name)
}
// Not intended for use outside of macros
-void * // NULL if component is not found
+char * // NULL if component is not found
internal_getComponent(storage_t *this, entity_t idx, const char *name)
{
for (int i = 0; i < this->componentsStored; ++i)