]> granicus.if.org Git - php/commitdiff
- #44355, compilation breaks due illegal const usage (Guenter Knauf)
authorPierre Joye <pajoye@php.net>
Fri, 7 Mar 2008 18:41:02 +0000 (18:41 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 7 Mar 2008 18:41:02 +0000 (18:41 +0000)
  I suppose it must break on other platform, it is not used anywhere else
  but here, and it was introduced after 5.2.5 (why no news)

ext/exif/exif.c

index f827b062f1c7bbf77e5e40ca60c61af65dfbfd96..5aa0ab2e1c42b308b38e13c08ace654139543da2 100644 (file)
@@ -242,7 +242,7 @@ PHP_MSHUTDOWN_FUNCTION(exif)
 /* }}} */
 
 /* {{{ exif dependencies */
-static const zend_module_dep exif_module_deps[] = {
+static zend_module_dep exif_module_deps[] = {
        ZEND_MOD_REQUIRED("standard")
 #if EXIF_USE_MBSTRING
        ZEND_MOD_REQUIRED("mbstring")