summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eet/eet_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index ef4d75c7f5..129e93fbd5 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -1701,7 +1701,7 @@ _base64_dec(const char *file, int *size_ret)
1701 1701
1702 if (tmp) 1702 if (tmp)
1703 { 1703 {
1704 int len = _b64_dec(tmp, buf, end - buf); 1704 size_t len = _b64_dec(tmp, buf, end - buf);
1705 char *str = malloc(end - buf + 1); 1705 char *str = malloc(end - buf + 1);
1706 strncpy(str, buf, end - buf); 1706 strncpy(str, buf, end - buf);
1707 str[end - buf] = 0; 1707 str[end - buf] = 0;