summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-02-26 18:46:16 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-02-26 18:46:16 +0100
commit8b6eb98f782897e3d9d134bd2e6b589e6afe1fc7 (patch)
treee88fd621f0864433f2c0f9cab1e244fd3be9c612 /cmd-line-utils
parentc1bb298e36aa1515935999676fa1d35f9ec014b6 (diff)
downloadmariadb-git-8b6eb98f782897e3d9d134bd2e6b589e6afe1fc7.tar.gz
Build fixes:
- Fix signed/unsigned warning (error -Werror) in readline - change regex_replace pattern to account for forward or backward slashes in partition_recover_myisam ( fixes Windows/embedded)
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/readline/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/readline/terminal.c b/cmd-line-utils/readline/terminal.c
index cc30f50cf3c..d7c72ca2aa5 100644
--- a/cmd-line-utils/readline/terminal.c
+++ b/cmd-line-utils/readline/terminal.c
@@ -621,7 +621,7 @@ _rl_output_some_chars (string, count)
const char *string;
int count;
{
- if (fwrite (string, 1, count, _rl_out_stream) != count)
+ if (fwrite (string, 1, count, _rl_out_stream) != (size_t)count)
fprintf(stderr, "Write failed\n");
}