]> granicus.if.org Git - php/commitdiff
Fix buf in string -> int conv.
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Wed, 30 Jan 2013 23:40:17 +0000 (00:40 +0100)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Sat, 2 Feb 2013 15:38:08 +0000 (16:38 +0100)
ext/sockets/conversions.c

index 54631604ab4b8b7554670e8d43697000af5c3038..9cbc6e5f88e71b3cb3c76bdb2a326688fe6dd242 100644 (file)
@@ -297,7 +297,7 @@ double_case:
                case IS_LONG:
                        zval_dtor(&lzval);
                        Z_TYPE(lzval) = IS_LONG;
-                       Z_DVAL(lzval) = lval;
+                       Z_LVAL(lzval) = lval;
                        goto long_case;
                }