Skip Menu |
 

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

Report information
The Basics
Id: 84372
Status: resolved
Priority: 0/
Queue: DBD-SQLite

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

Bug Information
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
Download Wpointer-sign.diff
text/x-diff 802b
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 */
Download (untitled) / with headers
text/plain 143b
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
Download (untitled) / with headers
text/plain 250b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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