Opened 8 years ago

Last modified 8 years ago

#52564 closed defect

podofo @0.9.4 +universal: non-const lvalue reference to type 'pdf_long' (aka 'int') cannot bind to a value of unrelated type 'long' — at Version 1

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: podofo

Description (last modified by ryandesign (Ryan Carsten Schmidt))

test/unit/EncryptTest.cpp:211:76: error: non-const lvalue reference to type 'pdf_long' (aka 'int') cannot bind to a value of unrelated type 'long'
        pEncrypt->Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );
                                                                           ^~~~~~
src/base/PdfEncrypt.h:371:59: note: passing argument to parameter 'outLen' here
                         unsigned char* outStr, pdf_long &outLen) const = 0;
                                                          ^
1 error generated.

Change History (2)

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Builds fine when not using the universal variant.

Note: See TracTickets for help on using tickets.