mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-13384 - misc Windows warnings fixed
This commit is contained in:
@ -450,7 +450,7 @@ int CSphUrl::Connect()
|
||||
char * pError = NULL;
|
||||
do
|
||||
{
|
||||
iSocket = socket ( iDomain, SOCK_STREAM, 0 );
|
||||
iSocket = (int)socket ( iDomain, SOCK_STREAM, 0 );
|
||||
if ( iSocket==-1 )
|
||||
{
|
||||
pError = "Failed to create client socket";
|
||||
@ -642,7 +642,7 @@ struct CSphSnippets
|
||||
}
|
||||
|
||||
#define STRING CHECK_TYPE(STRING_RESULT)
|
||||
#define INT CHECK_TYPE(INT_RESULT); int iValue = *(long long *)pArgs->args[i]
|
||||
#define INT CHECK_TYPE(INT_RESULT); int iValue =(int)*(long long *)pArgs->args[i]
|
||||
|
||||
my_bool sphinx_snippets_init ( UDF_INIT * pUDF, UDF_ARGS * pArgs, char * sMessage )
|
||||
{
|
||||
|
Reference in New Issue
Block a user