Skip to content

Commit d822f99

Browse files
committed
use inptr_t from cstdintwq
1 parent aab9121 commit d822f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cxx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ class Error final : public std::exception {
438438

439439
#ifndef CXXBRIDGE1_RUST_ISIZE
440440
#define CXXBRIDGE1_RUST_ISIZE
441-
using isize = std::make_signed<std::size_t>::type;
441+
using isize = intptr_t;
442442
#endif // CXXBRIDGE1_RUST_ISIZE
443443

444444
std::ostream &operator<<(std::ostream &, const String &);

0 commit comments

Comments
 (0)