Changeset 57

Show
Ignore:
Timestamp:
08/29/08 16:47:59 (3 months ago)
Author:
alonbl
Message:

Fixup a few warnings

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/match_openssh.c

    r2 r57  
    152152 
    153153        /* now: key_from_blob */ 
    154         if (strncmp(&decoded[i], "ssh-rsa", 7) != 0) 
     154        if (strncmp((char *)&decoded[i], "ssh-rsa", 7) != 0) 
    155155                return NULL; 
    156156 
  • trunk/src/pam_p11.c

    r43 r57  
    5353                                   const char **argv) 
    5454{ 
    55         int i, rv; 
     55        int rv; 
    5656        const char *user; 
    5757        char *password; 
     
    7676        int fd; 
    7777        unsigned siglen; 
     78        unsigned int i; 
    7879 
    7980        /* check parameters */