aboutsummaryrefslogtreecommitdiff
path: root/src/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt.c')
-rw-r--r--src/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt.c b/src/crypt.c
index 146aa7e..defc958 100644
--- a/src/crypt.c
+++ b/src/crypt.c
@@ -91,7 +91,7 @@ do_aes_encrypt(const gchar *origBuffer, const gchar * password, size_t *outBuffe
const size_t bufferLength = ceil((double)origBufferLength / blkLength) * blkLength;
gchar *buffer = malloc(bufferLength);
memcpy(buffer, origBuffer, origBufferLength);
- int i;
+ size_t i;
for (i = origBufferLength; i < bufferLength; ++i)
buffer[i] = 0;