summary refs log tree commit diff stats
path: root/plugins/fishlim
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2024-02-11 19:11:24 -0300
committerSoniEx2 <endermoneymod@gmail.com>2024-02-11 19:11:24 -0300
commit230a70d02e13123436815635a41824f906671505 (patch)
tree478c27a66deb81a03e81c1b4bb8d241990dd5a2b /plugins/fishlim
parent014b242df803089c34084de3d806a7c4e4dad75e (diff)
parentb544ac3350e85d4cc41fe3414cbdb82d75ce5d7a (diff)
Merge remote-tracking branch 'upstream/master' into default
Diffstat (limited to 'plugins/fishlim')
-rw-r--r--plugins/fishlim/fish.c3
-rw-r--r--plugins/fishlim/tests/tests.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/fishlim/fish.c b/plugins/fishlim/fish.c
index 7fe7e287..0b24ed48 100644
--- a/plugins/fishlim/fish.c
+++ b/plugins/fishlim/fish.c
@@ -145,7 +145,8 @@ void fish_deinit(void)
  */
 char *fish_base64_encode(const char *message, size_t message_len) {
     BF_LONG left = 0, right = 0;
-    int i, j;
+    int i;
+    size_t j;
     char *encoded = NULL;
     char *end = NULL;
     char *msg = NULL;
diff --git a/plugins/fishlim/tests/tests.c b/plugins/fishlim/tests/tests.c
index 12b10d1d..553816d3 100644
--- a/plugins/fishlim/tests/tests.c
+++ b/plugins/fishlim/tests/tests.c
@@ -36,7 +36,7 @@ static void
 random_string(char *out, size_t len)
 {
     GRand *rand = NULL;
-    int i = 0;
+    size_t i = 0;
 
     rand = g_rand_new();
     for (i = 0; i < len; ++i) {