]> granicus.if.org Git - php/commitdiff
fix long/int issues and a typo
authorAntony Dovgal <tony2001@php.net>
Wed, 13 Aug 2008 11:43:15 +0000 (11:43 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 13 Aug 2008 11:43:15 +0000 (11:43 +0000)
ext/ming/ming.c

index d5414a992e07dd1caa546e9447fe51f7c02baf3e..c823ca450ae3226f0bab22853d9a105a8a7d8973 100644 (file)
@@ -1395,7 +1395,7 @@ PHP_METHOD(swfbutton, addAction)
 PHP_FUNCTION(ming_keypress)
 {
        char *key;
-       long key_len;
+       int key_len;
        char c;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) {
@@ -4301,7 +4301,7 @@ PHP_METHOD(swfmovie, importChar)
        SWFCharacter character;
        int ret;
        char *libswf, *name;
-       long libswf_len, name_len;
+       int libswf_len, name_len;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &libswf, &libswf_len, &name, &name_len) == FAILURE) {
                return;
@@ -4378,7 +4378,7 @@ PHP_METHOD(swfmovie, addFont)
 PHP_METHOD(swfmovie, replace)
 {
        SWFMovie movie;
-       zval *zitem, **zblock;
+       zval *zitem, *zblock;
        SWFDisplayItem item;
        SWFBlock block;
        SWFMovieBlockType ublock;