plugin/command_log/command_log.cc can't be compiled on 32 bit platforms

Bug #409711 reported by Trond Norbye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Jay Pipes

Bug Description

libtool: compile: CC -xlang=c99 -DHAVE_CONFIG_H -I. -I. -I./gnulib -I./gnulib -I/opt/drizzle/include -I/opt/google/include -D_REENTRANT -mt -compat=5 -library=stlport4 -template=no%extdef -g0 -xO3 -xlibmil -xdepend -xbuiltin +w +w2 -xwe -xport64 -errtags=yes -erroff=attrskipunsup,doubunder,reftotemp,inllargeuse,truncwarn1,signextwarn,inllargeint -errwarn=%all -c plugin/command_log/command_log.cc -KPIC -DPIC -o plugin/command_log/.libs/plugin_libcommand_log_plugin_la-command_log.o
"plugin/command_log/command_log.cc", line 206: Error, truncwarn: Conversion of 64 bit type value to "unsigned" causes truncation.
1 Error(s) detected.

The problem is a length parameter to pwrite that is specified as uint64_t and not size_t as the definition of pwrite specifies.

ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);

Related branches

Revision history for this message
Trond Norbye (trond-norbye) wrote :

Introduced in 1039.5.20

Changed in drizzle:
assignee: nobody → Jay Pipes (jaypipes)
Jay Pipes (jaypipes)
Changed in drizzle:
importance: Undecided → Medium
milestone: none → aloha
status: New → Fix Committed
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

fixed as of build 1112

Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.