mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed compiler warnings
Remove compiler warnings in sphinx, item_sum.cc and opt_split.cc
This commit is contained in:
@@ -177,10 +177,10 @@ enum
|
||||
SEARCHD_WARNING = 3 ///< general success, warning message and command-specific reply follow
|
||||
};
|
||||
|
||||
#define SPHINXSE_DEFAULT_SCHEME "sphinx"
|
||||
#define SPHINXSE_DEFAULT_HOST "127.0.0.1"
|
||||
#define SPHINXSE_DEFAULT_SCHEME (char*) "sphinx"
|
||||
#define SPHINXSE_DEFAULT_HOST (char*) "127.0.0.1"
|
||||
#define SPHINXSE_DEFAULT_PORT 9312
|
||||
#define SPHINXSE_DEFAULT_INDEX "*"
|
||||
#define SPHINXSE_DEFAULT_INDEX (char*) "*"
|
||||
|
||||
class CSphBuffer
|
||||
{
|
||||
@@ -446,7 +446,7 @@ int CSphUrl::Connect()
|
||||
uint uServerVersion;
|
||||
uint uClientVersion = htonl ( SPHINX_SEARCHD_PROTO );
|
||||
int iSocket = -1;
|
||||
char * pError = NULL;
|
||||
const char * pError = NULL;
|
||||
do
|
||||
{
|
||||
iSocket = (int)socket ( iDomain, SOCK_STREAM, 0 );
|
||||
|
Reference in New Issue
Block a user