Browse Source

src: remove usage of extended sizeof

It's not supported in VS2013.

PR-URL: https://github.com/node-forward/node/pull/38
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
archived-io.js-v0.12
Nikolai Vavilov 10 years ago
committed by Ben Noordhuis
parent
commit
b782ef85f1
  1. 2
      src/node_v8_platform.cc

2
src/node_v8_platform.cc

@ -142,7 +142,7 @@ Task* TaskQueue::Shift() {
unsigned int TaskQueue::next(unsigned int n) { unsigned int TaskQueue::next(unsigned int n) {
return (n + 1) % ARRAY_SIZE(TaskQueue::ring_); return (n + 1) % ARRAY_SIZE(TaskQueue{}.ring_);
} }

Loading…
Cancel
Save