Changeset [e71fb1262d85750ed24251c5b827231d3b3f2533] by Diego Elio 'Flameeyes' Pettenò

March 1st, 2010 @ 08:45 AM

Use explicit signed char types for 'level' variable.

The char type is not standardised as either signed or unsigned, and depends
on the architecture. In particular, on PowerPC-based Linux systems, char is
by default unsigned.

Where it matters, make sure that char has its signedness explicited in the
code.
http://github.com/jgarber/redcloth/commit/e71fb1262d85750ed24251c5b...

Committed by Diego Elio 'Flameeyes' Pettenò

  • M ext/redcloth_scan/redcloth.h
  • M ext/redcloth_scan/redcloth_inline.c.rl
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins