Browse Source

Merge pull request #179 from hallzy/fix-comp-warning

Resolved a compilation warning about %lld
Marco Bambini 8 years ago
parent
commit
05910063f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/runtime/gravity_core.c

+ 1 - 1
src/runtime/gravity_core.c

@@ -965,7 +965,7 @@ static bool list_join (gravity_vm *vm, gravity_value_t *args, uint16_t nargs, ui
             // sanity check
             // sanity check
             if (to_alloc > MAX_MEMORY_BLOCK) {
             if (to_alloc > MAX_MEMORY_BLOCK) {
                 mem_free(_buffer);
                 mem_free(_buffer);
-                RETURN_ERROR("Maximum memory block size reached (max %d, requested %lld).", MAX_MEMORY_BLOCK, to_alloc);
+                RETURN_ERROR("Maximum memory block size reached (max %d, requested %ld).", MAX_MEMORY_BLOCK, to_alloc);
             }
             }
             
             
 			_buffer = mem_realloc(_buffer, (uint32_t)to_alloc);
 			_buffer = mem_realloc(_buffer, (uint32_t)to_alloc);