Commit f8828ee5 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

ioctl: Drop const from pi_agid argument in ioctl_InvalidateAgid()

Under Windows the parameter is passed on to DeviceIoControl()
as a non-const parameter.
parent 2afa6f86
......@@ -901,7 +901,7 @@ int ioctl_ReportKey1( int i_fd, const int *pi_agid, uint8_t *p_key )
/*****************************************************************************
* ioctl_InvalidateAgid: invalidate the current AGID
*****************************************************************************/
int ioctl_InvalidateAgid( int i_fd, const int *pi_agid )
int ioctl_InvalidateAgid( int i_fd, int *pi_agid )
{
int i_ret;
......
......@@ -32,7 +32,7 @@ int ioctl_ReportAgid ( int, int * );
int ioctl_ReportChallenge ( int, const int *, uint8_t * );
int ioctl_ReportKey1 ( int, const int *, uint8_t * );
int ioctl_ReportASF ( int, int * );
int ioctl_InvalidateAgid ( int, const int * );
int ioctl_InvalidateAgid ( int, int * );
int ioctl_SendChallenge ( int, const int *, const uint8_t * );
int ioctl_SendKey2 ( int, const int *, const uint8_t * );
int ioctl_ReportRPC ( int, int *, int *, int * );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment