Skip to content

Instantly share code, notes, and snippets.

@rlerdorf
Created October 20, 2013 18:36
Show Gist options
  • Save rlerdorf/7073467 to your computer and use it in GitHub Desktop.
Save rlerdorf/7073467 to your computer and use it in GitHub Desktop.
/Users/Rasmus/src/php/ext/dom/document.c:1834:3: warning: initializing 'const char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign
[-Wpointer-sign]
RETVAL_STRING(mem, 1);
^~~~~~~~~~~~~~~~~~~~~
/Users/Rasmus/src/php/Zend/zend_API.h:622:39: note: expanded from macro 'RETVAL_STRING'
#define RETVAL_STRING(s, duplicate) ZVAL_STRING(return_value, s, duplicate)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Rasmus/src/php/Zend/zend_API.h:575:15: note: expanded from macro 'ZVAL_STRING'
const char *__s=(s); \
^ ~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment