Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUACAMOLE-1867: Fix typo in memory convenience functions (ssize_t -> size_t). #466

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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