summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2020-11-07 23:22:28 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2020-11-07 23:22:28 +0100
commit8985933881e94374a10481aeb10714fd77470d48 (patch)
tree537a27e9b786db4011c729ef94529d23b4282551
parentfb86a496c04d688d4d4973d958e664f866b04881 (diff)
downloadmariadb-git-8985933881e94374a10481aeb10714fd77470d48.tar.gz
Re-fix compile error (sign-unsign) Modified filamtxt.cpp
-rw-r--r--storage/connect/filamtxt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/filamtxt.cpp b/storage/connect/filamtxt.cpp
index 28a6894325b..758a4b1d8cf 100644
--- a/storage/connect/filamtxt.cpp
+++ b/storage/connect/filamtxt.cpp
@@ -1833,7 +1833,7 @@ int BINFAM::ReadBuffer(PGLOBAL g) {
} else
return RC_EF;
- } else if (Recsize > Buflen) {
+ } else if (Recsize > (unsigned)Buflen) {
sprintf(g->Message, "Record too big (Recsize=%zd Buflen=%d)\n", Recsize, Buflen);
return RC_FX;
} // endif Recsize