• Ludovic Rousseau's avatar
    RSA_SecurID_getpasswd.c: fix compiler warnings on OS X · c2b6e04a
    Ludovic Rousseau authored
    Apple defines DWORD as uint32_t so %d is correct
    pcsc-lite defines DWORD as unsigned long so %ld is correct
    
    To get a compilation without warnings on Mac OS X and GNU/Linux you have
    to use "%d" on Mac OS X and "%ld" on GNU/Linux.
    Using the macro LF you can use: "%"LF"d".
    
    This change fixes a lot of compiler warnings like:
    RSA_SecurID_getpasswd.c:54:77: warning: format specifies type 'unsigned long'
          but the argument has type 'LONG' (aka 'int') [-Wformat]
      ...Cannot Connect to Resource Manager %lX\n", rv);
                                            ~~~     ^~
                                            %X
    c2b6e04a
Name
Last commit
Last update
..
Kobil_mIDentity_switch Loading commit data...
RSA_SecurID Loading commit data...
GPL-2 Loading commit data...
Makefile.am Loading commit data...