Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 3383d77c61f3
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: b509ae67b794
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 11, 2013

  1. typed arrays: fix sunos signed/unsigned char issue

    The int8_t and uint8_t typedefs on sunos/smartos depend on a number of
    compiler directives. Avoid ambiguity and specify signed and unsigned
    char explicitly.
    
    Fixes the following build error:
    
      ../src/stream_wrap.cc: In static member function 'static void*
      node::WriteWrap::operator new(size_t)':
      ../src/stream_wrap.cc:70:49: warning: no return statement in function
      returning non-void [-Wreturn-type]
      In file included from ../src/v8_typed_array.cc:26:0:
      ../src/v8_typed_array_bswap.h: In function 'T
      v8_typed_array::SwapBytes(T) [with T = signed char]':
      ../src/v8_typed_array_bswap.h:150:23:   instantiated from 'T
      v8_typed_array::LoadAndSwapBytes(void*) [with T = signed char]'
      ../src/v8_typed_array.cc:694:7:   instantiated from 'static
      v8::Handle<v8::Value> {anonymous}::DataView::getGeneric(const
      v8::Arguments&) [with T = signed char]'
      ../src/v8_typed_array.cc:738:40:   instantiated from here
      ../src/v8_typed_array_bswap.h:125:16: error: size of array is
      negative
    bnoordhuis committed Jan 11, 2013
    1
    Copy the full SHA
    b509ae6 View commit details
    Browse the repository at this point in the history