summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-08-30 10:51:36 +0300
committermonty@hundin.mysql.fi <>2001-08-30 10:51:36 +0300
commit6000cd213a53fd38761405b4b6ed10edb97bae5f (patch)
tree864539eb208e02ed1670cf07dc81184740e5020e /dbug
parent3fb423fe3996742f46fafb80be3355a8509e70dd (diff)
downloadmariadb-git-6000cd213a53fd38761405b4b6ed10edb97bae5f.tar.gz
Portability fixes
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 1fb8755d605..cfe4ca161c6 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -1365,7 +1365,7 @@ uint _line_)
#ifdef THREAD
(void) fprintf (_db_fp_, "%-7s: ", my_thread_name());
#else
- (void) fprintf (_db_fp_, "%5d: ", getpid ());
+ (void) fprintf (_db_fp_, "%5d: ", (int) getpid ());
#endif
}
if (stack -> flags & NUMBER_ON) {