diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-11 11:35:53 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-11 11:35:59 +0200 |
commit | 546e06ab45e10a6706b2ce3cf0f271f7b5b3785f (patch) | |
tree | dfcef0793ae4311ac94bdb854080a6a7b27a375c | |
parent | a96e1087d2b3893d2526fcb27349c1eca04fa00c (diff) | |
download | remote-logon-service-546e06ab45e10a6706b2ce3cf0f271f7b5b3785f.tar.gz remote-logon-service-546e06ab45e10a6706b2ce3cf0f271f7b5b3785f.tar.bz2 remote-logon-service-546e06ab45e10a6706b2ce3cf0f271f7b5b3785f.zip |
src/crypt.c: Fix int comparison, so both compared variables are of the same type.
-rw-r--r-- | src/crypt.c | 2 |
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; |