summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index 30d4ab90e5..d9c733428d 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -157,13 +157,13 @@ typedef struct st_php_mysql_packet_auth {
uint32 max_packet_size;
mysqlnd_1b charset_no;
/* 23 byte pad */
- char *user;
+ const char *user;
/* 8 byte scramble */
- char *db;
+ const char *db;
/* 12 byte scramble */
/* Here the packet ends. This is user supplied data */
- char *password;
+ const char *password;
/* +1 for \0 because of scramble() */
unsigned char *server_scramble_buf;
size_t db_len;