Skip to content

Commit

Permalink
fixed a complier warning in 64bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Rogier committed Nov 10, 2020
1 parent cd1a3aa commit 056a555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void * OcilibMemoryRealloc

block = (OCI_MemoryBlock*)ptr_new;

const big_int size_diff = (big_int)size - block->size;
const size_t size_diff = (big_int)size - block->size;

block->type = ptr_type;
block->size = (unsigned int)size;
Expand Down

0 comments on commit 056a555

Please sign in to comment.