summaryrefslogtreecommitdiff
path: root/strings/strmake.c
diff options
context:
space:
mode:
authortnurnberg@mysql.com/white.intern.koehntopp.de <>2007-12-17 10:43:19 +0100
committertnurnberg@mysql.com/white.intern.koehntopp.de <>2007-12-17 10:43:19 +0100
commit491b664fadeccf9243a491f7e8416f15e9171023 (patch)
tree0ab7f3332b40d68f952951d3f41e691d8bf4634c /strings/strmake.c
parent94d7b8273f95429bdb3563c71e986ae5c46677de (diff)
downloadmariadb-git-491b664fadeccf9243a491f7e8416f15e9171023.tar.gz
Bug#31752: check strmake() bounds
build fixes
Diffstat (limited to 'strings/strmake.c')
-rw-r--r--strings/strmake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/strmake.c b/strings/strmake.c
index 05b5878d99c..df8d78e8476 100644
--- a/strings/strmake.c
+++ b/strings/strmake.c
@@ -27,7 +27,7 @@
#include <my_global.h>
#include "m_string.h"
-char *strmake(register char *dst, register const char *src, uint length)
+char *strmake(register char *dst, register const char *src, size_t length)
{
#ifdef EXTRA_DEBUG
/*