Ignore:
Timestamp:
Nov 4, 2008, 1:39:40 AM (11 years ago)
Author:
bsittler
Message:

fix typo in PHP binding of caca_set_Attr that caused segfault on linux; also remove workaround for spurious extra-argument requirement from two of the PHP examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/php_caca.c

    r3188 r3260  
    645645        zval *_zval;
    646646        long attr = 0;
    647         if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &_zval, &attr) == FAILURE) {
     647        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &_zval, &attr) == FAILURE) {
    648648                RETURN_FALSE;
    649649        }
Note: See TracChangeset for help on using the changeset viewer.