Skip to content

Commit

Permalink
GUACAMOLE-1867: Merge fix typo in memory convenience functions (ssize…
Browse files Browse the repository at this point in the history
…_t -> size_t).
  • Loading branch information
necouchman authored Oct 26, 2023
2 parents 5ad2650 + 3e5a2ab commit db00785
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 db00785

Please sign in to comment.