#169 [cffi] handles unsigned int literals

closed-accepted
None
5
2007-04-01
2007-03-20
Leigh Smith
No

Literals such as

#define FOO1 1234567u
#define FOO2 0x1234567u

are not handled correctly in the CFFI module. I've attached a simple patch to check for T_UINT in convert_literal() in cffi.cxx which fixes the problem.

Discussion

  • Leigh Smith

    Leigh Smith - 2007-03-20

    cffi.cxx patch for handling T_UINT literals

     
  • Surendra Singhi

    Surendra Singhi - 2007-03-25
    • assigned_to: nobody --> efuzzyone
     
  • Surendra Singhi

    Surendra Singhi - 2007-04-01

    Logged In: YES
    user_id=1309817
    Originator: NO

    Thanks! Patch applied.

     
  • Surendra Singhi

    Surendra Singhi - 2007-04-01
    • status: open --> closed-accepted
     

Log in to post a comment.