summaryrefslogtreecommitdiffstats
path: root/squarkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'squarkdb.c')
-rw-r--r--squarkdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/squarkdb.c b/squarkdb.c
index a62ea61..543cbb1 100644
--- a/squarkdb.c
+++ b/squarkdb.c
@@ -85,7 +85,7 @@ void sqdb_close(struct sqdb *db)
close(db->fd);
}
-void *sqdb_section_create(struct sqdb *db, int id, u_int32_t size)
+void *sqdb_section_create(struct sqdb *db, int id, uint32_t size)
{
struct sqdb_header *hdr;
size_t pos;
@@ -106,7 +106,7 @@ void *sqdb_section_create(struct sqdb *db, int id, u_int32_t size)
return db->mmap_base + pos;
}
-void *sqdb_section_get(struct sqdb *db, int id, u_int32_t *size)
+void *sqdb_section_get(struct sqdb *db, int id, uint32_t *size)
{
struct sqdb_header *hdr = db->mmap_base;