Skip to content

Commit

Permalink
Merge 1.5.4 changes back to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman committed Oct 26, 2023
2 parents 5b2eb7b + db00785 commit 8d3414e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libguac/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int PRIV_guac_mem_ckd_mul(size_t* result, size_t factor_count, const size_t* fac
return 1;

/* Multiply all provided factors together */
ssize_t size = *(factors++);
size_t size = *(factors++);
while (--factor_count && size) {

size_t factor = *(factors++);
Expand All @@ -77,7 +77,7 @@ int PRIV_guac_mem_ckd_add(size_t* result, size_t term_count, const size_t* terms
return 1;

/* Multiply all provided terms together */
ssize_t size = *(terms++);
size_t size = *(terms++);
while (--term_count) {

size_t term = *(terms++);
Expand All @@ -103,7 +103,7 @@ int PRIV_guac_mem_ckd_sub(size_t* result, size_t term_count, const size_t* terms
return 1;

/* Multiply all provided terms together */
ssize_t size = *(terms++);
size_t size = *(terms++);
while (--term_count) {

size_t term = *(terms++);
Expand Down

0 comments on commit 8d3414e

Please sign in to comment.