diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 17:56:48 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 17:56:48 +0400 |
commit | f8f79d933462e39b1039d0644dfc7697850501c7 (patch) | |
tree | 570473e4aaf79d092131a60e861e68c27a5d5500 /storage/connect/filamdbf.cpp | |
parent | 40398f3660273a646eb974092a9ddf6f881d700e (diff) | |
download | mariadb-git-f8f79d933462e39b1039d0644dfc7697850501c7.tar.gz |
Fixing wrong sprintf() calls.
modified:
storage/connect/filamap.cpp
storage/connect/filamdbf.cpp
storage/connect/filamfix.cpp
storage/connect/filamtxt.cpp
storage/connect/filamvct.cpp
storage/connect/ha_connect.cc
storage/connect/osutil.c
storage/connect/plgdbutl.cpp
storage/connect/plugutil.c
storage/connect/tabfix.cpp
storage/connect/tabxml.cpp
storage/connect/user_connect.cc
storage/connect/value.cpp
storage/connect/xindex.cpp
Diffstat (limited to 'storage/connect/filamdbf.cpp')
-rw-r--r-- | storage/connect/filamdbf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/filamdbf.cpp b/storage/connect/filamdbf.cpp index 37125995069..e8aace3fc06 100644 --- a/storage/connect/filamdbf.cpp +++ b/storage/connect/filamdbf.cpp @@ -731,7 +731,7 @@ bool DBFFAM::CopyHeader(PGLOBAL g) if (fseek(Stream, 0, SEEK_SET)) strcpy(g->Message, "Seek error in CopyHeader"); else if ((n = fread(hdr, 1, hlen, Stream)) != hlen) - sprintf(g->Message, MSG(BAD_READ_NUMBER), n, To_File); + sprintf(g->Message, MSG(BAD_READ_NUMBER), (int) n, To_File); else if ((n = fwrite(hdr, 1, hlen, T_Stream)) != hlen) sprintf(g->Message, MSG(WRITE_STRERROR), To_Fbt->Fname , strerror(errno)); |