Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id:
84372
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
RURBAN [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
(no value)
Fixed in:
(no value)



Subject: -Wpointer-sign warnings with utf8_hop
Attached patch fixes three -Wpointer-sign warnings with utf8_hop -- Reini Urban
Subject: Wpointer-sign.diff
Index: dbdimp.c =================================================================== --- dbdimp.c (revision 15747) +++ dbdimp.c (working copy) @@ -2667,10 +2667,10 @@ /* recompute start/end offsets in bytes, not in chars */ hop = *piStartOffset - c->lastCharOffset; - byteOffset = utf8_hop((U8*)c->lastByteOffset, hop); + byteOffset = (char*)utf8_hop((U8*)c->lastByteOffset, hop); hop = *piEndOffset - *piStartOffset; *piStartOffset = byteOffset - c->pInput; - byteOffset = utf8_hop(byteOffset, hop); + byteOffset = (char*)utf8_hop((U8*)byteOffset, hop); *piEndOffset = byteOffset - c->pInput; /* remember where we are for next round */
Applied to the trunk. Thanks. On Tue Apr 02 22:54:40 2013, RURBAN wrote:
Show quoted text
> Attached patch fixes three -Wpointer-sign warnings with utf8_hop
Closed as DBD::SQLite 1.38_02 was out. Thanks. On Tue Apr 02 23:52:18 2013, ISHIGAKI wrote:
Show quoted text
> Applied to the trunk. Thanks. > > On Tue Apr 02 22:54:40 2013, RURBAN wrote:
> > Attached patch fixes three -Wpointer-sign warnings with utf8_hop
> >


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.