BasicRuntimeChecks="3"\r
RuntimeLibrary="3"\r
UsePrecompiledHeader="0"\r
- WarningLevel="3"\r
+ WarningLevel="4"\r
Detect64BitPortabilityProblems="true"\r
DebugInformationFormat="3"\r
+ DisableSpecificWarnings="4100;4706"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"\r
RuntimeLibrary="2"\r
UsePrecompiledHeader="0"\r
- WarningLevel="3"\r
+ WarningLevel="4"\r
Detect64BitPortabilityProblems="true"\r
DebugInformationFormat="3"\r
+ DisableSpecificWarnings="4100"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
BasicRuntimeChecks="3"\r
RuntimeLibrary="3"\r
UsePrecompiledHeader="0"\r
- WarningLevel="3"\r
+ WarningLevel="4"\r
Detect64BitPortabilityProblems="true"\r
DebugInformationFormat="4"\r
+ DisableSpecificWarnings="4100"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;APR_DECLARE_STATIC;APU_DECLARE_STATIC"\r
RuntimeLibrary="2"\r
UsePrecompiledHeader="0"\r
- WarningLevel="3"\r
+ WarningLevel="4"\r
Detect64BitPortabilityProblems="true"\r
DebugInformationFormat="3"\r
+ DisableSpecificWarnings="4100"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
session->candidates[index].address = apr_pstrdup(session->pool, key);
}
if ((key = iks_find_attrib(tag, "port"))) {
- session->candidates[index].port = atoi(key);
+ session->candidates[index].port = (uint16_t)atoi(key);
}
if (globals.debug) {
globals.logger(DL_LOG_DEBUG,
{
iks *iq, *sess, *tag;
- unsigned int x, id;
+ unsigned int x, id = 0;
for (x = 0; x < clen; x++) {
int8_t ldl_handle_ready(ldl_handle_t *handle)
{
- return ldl_test_flag(handle, LDL_FLAG_READY);
+ return (int8_t)ldl_test_flag(handle, LDL_FLAG_READY);
}
ldl_status ldl_handle_init(ldl_handle_t **handle,
new_handle->server = apr_pstrdup(pool, server);
if ((p = strchr(new_handle->server, ':'))) {
*p++ = '\0';
- new_handle->port = atoi(p);
+ new_handle->port = (uint16_t)atoi(p);
}
}