]> granicus.if.org Git - php/commitdiff
compile fix
authorThies C. Arntzen <thies@php.net>
Wed, 16 Aug 2000 15:23:05 +0000 (15:23 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 16 Aug 2000 15:23:05 +0000 (15:23 +0000)
ext/oci8/oci8.c

index 765af87129f25a0ff72a7b231635eb6ce4653100..2d0142f2eb124e0a1016e7ca4d19288f06c0892b 100644 (file)
@@ -1593,7 +1593,7 @@ oci_loadlob(oci_connection *connection, oci_descriptor *mydescr, char **buffer,u
                                           mydescr->ocidescr,
                                           &readlen,                            /* IN/OUT bytes toread/read */
                                           siz + 1,                                     /* offset (starts with 1) */ 
-                                          (dvoid *) buf + siz, 
+                                          (dvoid *) ((char *) buf + siz),      
                                           readlen,                                     /* size of buffer */
                                           (dvoid *)0,
                                           (OCICallbackLobRead) 0,      /* callback... */