mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Introduce some const pointers
This commit is contained in:
parent
35f30b388a
commit
f0f05c7923
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include "phar_internal.h"
|
#include "phar_internal.h"
|
||||||
|
|
||||||
static uint32_t phar_tar_number(char *buf, size_t len) /* {{{ */
|
static uint32_t phar_tar_number(const char *buf, size_t len) /* {{{ */
|
||||||
{
|
{
|
||||||
uint32_t num = 0;
|
uint32_t num = 0;
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
|
|
|
@ -150,7 +150,7 @@ static int phar_zip_process_extra(php_stream *fp, phar_entry_info *entry, uint16
|
||||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
static time_t phar_zip_d2u_time(char *cdtime, char *cddate) /* {{{ */
|
static time_t phar_zip_d2u_time(const char *cdtime, const char *cddate) /* {{{ */
|
||||||
{
|
{
|
||||||
int dtime = PHAR_GET_16(cdtime), ddate = PHAR_GET_16(cddate);
|
int dtime = PHAR_GET_16(cdtime), ddate = PHAR_GET_16(cddate);
|
||||||
struct tm *tm, tmbuf;
|
struct tm *tm, tmbuf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue