X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9814ec39ae60db89cf3f65487e71a48c55bbfa3c..d2742118d583fb2438e68bc85ca6639e239e8a6b:/sig/parse.cpp diff --git a/sig/parse.cpp b/sig/parse.cpp index 9eac602..24de0bc 100644 --- a/sig/parse.cpp +++ b/sig/parse.cpp @@ -1,4 +1,4 @@ -/* Cycript - Remove Execution Server and Disassembler +/* Cycript - Inlining/Optimizing JavaScript Compiler * Copyright (C) 2009 Jay Freeman (saurik) */ @@ -265,11 +265,11 @@ const char *Unparse(apr_pool_t *pool, struct Type *type) { case array_P: { const char *value = Unparse(pool, type->data.data.type); - return apr_psprintf(pool, "[%zu%s]", type->data.data.size, value); + return apr_psprintf(pool, "[%"APR_SIZE_T_FMT"%s]", type->data.data.size, value); } break; case pointer_P: return apr_psprintf(pool, "^%s", type->data.data.type == NULL ? "v" : Unparse(pool, type->data.data.type)); - case bit_P: return apr_psprintf(pool, "b%zu", type->data.data.size); + case bit_P: return apr_psprintf(pool, "b%"APR_SIZE_T_FMT"", type->data.data.size); case char_P: return "c"; case double_P: return "d"; case float_P: return "f";