crypto: fix signed/unsigned comparison warning
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 6 Aug 2013 13:36:12 +0000 (15:36 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 6 Aug 2013 13:39:43 +0000 (15:39 +0200)
commit576496632c96628eb47e8650987edf01d765a6ab
treeadf22c8624d749c3e205f2c671e878e3f54fed76
parent048e0e77e0c341407ecea364cbe26c8f77be48b8
crypto: fix signed/unsigned comparison warning

The type of the expression `(uint16_t) server_names_len + 2` gets
implicitly widened to int. Change the type of server_names_len to
uint32_t to avoid the following warnings:

    ../../src/node_crypto_clienthello.cc:144: warning: comparison
    between signed and unsigned integer expressions
    ../../src/node_crypto_clienthello.cc:146: warning: comparison
    between signed and unsigned integer expressions
src/node_crypto_clienthello.cc