summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/vncauth.c
Side-by-side diff
Diffstat (limited to 'noncore/comm/keypebble/vncauth.c') (more/less context) (show whitespace changes)
-rw-r--r--noncore/comm/keypebble/vncauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/comm/keypebble/vncauth.c b/noncore/comm/keypebble/vncauth.c
index dc276bf..277d145 100644
--- a/noncore/comm/keypebble/vncauth.c
+++ b/noncore/comm/keypebble/vncauth.c
@@ -46,13 +46,13 @@ unsigned char fixedkey[8] = {23,82,107,6,35,78,88,7};
*/
int
vncEncryptAndStorePasswd(char *passwd, char *fname)
{
FILE *fp;
- int i;
+ uint i;
unsigned char encryptedPasswd[8];
if ((fp = fopen(fname,"w")) == NULL) return 1;
chmod(fname, S_IRUSR|S_IWUSR);