Remove more implicit casts in upnp part

Remove more "implicit integer or enum conversions" as well as memset
before snprintf.
This commit is contained in:
Fabrice Fontaine
2012-03-10 21:27:55 +01:00
parent db532afb9b
commit 2eb3e069ba
11 changed files with 119 additions and 102 deletions

View File

@@ -5,6 +5,7 @@
*
* Copyright (c) 2000-2003 Intel Corporation
* All rights reserved.
* Copyright (c) 2012 France Telecom All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -143,7 +144,7 @@ int sock_read(
/*! [out] Buffer to get data to. */
char* buffer,
/*! [in] Size of the buffer. */
int bufsize,
size_t bufsize,
/*! [in,out] timeout value. */
int *timeoutSecs);
@@ -161,7 +162,7 @@ int sock_write(
/*! [in] Buffer to send data from. */
const char *buffer,
/*! [in] Size of the buffer. */
int bufsize,
size_t bufsize,
/*! [in,out] timeout value. */
int *timeoutSecs);