Skip to content
Permalink
Browse files
Fixed compiler warnings in sphinx
  • Loading branch information
montywi committed Mar 26, 2018
1 parent 8bb51f6 commit 2f2e7f8
Showing 1 changed file with 4 additions and 4 deletions.
@@ -178,10 +178,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
{
@@ -447,7 +447,7 @@ int CSphUrl::Connect()
uint uServerVersion;
uint uClientVersion = htonl ( SPHINX_SEARCHD_PROTO );
int iSocket = -1;
char * pError = NULL;
const char * pError = NULL;
do
{
iSocket = socket ( iDomain, SOCK_STREAM, 0 );

0 comments on commit 2f2e7f8

Please sign in to comment.