Skip to content

Use fixed-width int types for portability #66

Open
@tromer

Description

@tromer

Libsnark currently uses long long and unsigned long long in many places. On native Windows build, these are 32-bit types (even on 64-bit Windows), which breaks compatibility (#26) and in some cases correctness (e.g., #13).

Convert all of these to C++11 fixed-width integer types: int64_t and uint64_t.

Except where they should be size_t instead (e.g., zcash/zcash#1240).

(Ongoing work by @radix42 and @joshuayabut.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions