fixed incompatible types ('DWORD *' to 'size_t *')

This commit is contained in:
Frank Morgner 2016-06-05 03:04:20 +02:00
parent 2746a7f430
commit 9983c4185f
3 changed files with 3 additions and 3 deletions

View File

@ -605,7 +605,7 @@ static void process_config_file(sc_context_t *ctx, struct _sc_ctx_options *opts)
const char *debug = NULL;
#ifdef _WIN32
char temp_path[PATH_MAX];
DWORD temp_len;
size_t temp_len;
#endif
/* Takes effect even when no config around */

View File

@ -255,7 +255,7 @@ static void logprintf(PCARD_DATA pCardData, int level, _Printf_format_string_ co
* close so as the file is not left open during any wait.
*/
DWORD md_debug = 0;
DWORD sz = sizeof(md_debug);
size_t sz = sizeof(md_debug);
int rv;
rv = sc_ctx_win32_get_config_value("CARDMOD_LOW_LEVEL_DEBUG",

View File

@ -330,7 +330,7 @@ sc_profile_load(struct sc_profile *profile, const char *filename)
int res = 0, i;
#ifdef _WIN32
char temp_path[PATH_MAX];
DWORD temp_len;
size_t temp_len;
#endif
LOG_FUNC_CALLED(ctx);