From 3e5a2abb0b51d7845c0e4519d18c75928d24e4ea Mon Sep 17 00:00:00 2001 From: Mike Jumper Date: Thu, 26 Oct 2023 12:32:30 -0700 Subject: [PATCH] GUACAMOLE-1867: Fix typo in memory convenience functions (ssize_t -> size_t). --- src/libguac/mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libguac/mem.c b/src/libguac/mem.c index 2d139ffdc..8f9a842a6 100644 --- a/src/libguac/mem.c +++ b/src/libguac/mem.c @@ -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++); @@ -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++); @@ -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++);