serpapi / nokolexbor

High-performance HTML5 parser for Ruby based on Lexbor, with support for both CSS selectors and XPath.
182 stars 4 forks source link

error build on clang15 #2

Closed kostya closed 1 year ago

kostya commented 1 year ago
nl_node.c:256:14: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
  root->user = count;
             ^ ~~~~~
nl_node.c:263:18: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
      node->user = ++count;
                 ^ ~~~~~~~
nl_node.c:278:18: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
      node->user = ++count;
                 ^ ~~~~~~~
zyc9012 commented 1 year ago

@kostya Fixed and released new version.

kostya commented 1 year ago

works