Skip to content

Commit 291b4ef

Browse files
committed
Use C++-style cast.
1 parent 41bd029 commit 291b4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bignum.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ BigNum::New(const Arguments& args)
263263
uint64_t base;
264264

265265
if (args[0]->IsExternal()) {
266-
bignum = (BigNum *) External::Unwrap(args[0]);
266+
bignum = static_cast<BigNum*>(External::Unwrap(args[0]));
267267
} else {
268268
int len = args.Length();
269269
Local<Object> ctx = Local<Object>::New(Object::New());

0 commit comments

Comments
 (0)