summaryrefslogtreecommitdiffstats
path: root/src/compiler/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/blob.c')
-rw-r--r--src/compiler/blob.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/blob.c b/src/compiler/blob.c
index f0fa85e5beb..8dd254fefc6 100644
--- a/src/compiler/blob.c
+++ b/src/compiler/blob.c
@@ -158,10 +158,10 @@ blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write)
return true;
}
-ssize_t
+intptr_t
blob_reserve_bytes(struct blob *blob, size_t to_write)
{
- ssize_t ret;
+ intptr_t ret;
if (! grow_to_fit (blob, to_write))
return -1;
@@ -172,14 +172,14 @@ blob_reserve_bytes(struct blob *blob, size_t to_write)
return ret;
}
-ssize_t
+intptr_t
blob_reserve_uint32(struct blob *blob)
{
align_blob(blob, sizeof(uint32_t));
return blob_reserve_bytes(blob, sizeof(uint32_t));
}
-ssize_t
+intptr_t
blob_reserve_intptr(struct blob *blob)
{
align_blob(blob, sizeof(intptr_t));