mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Introduce some const pointers
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#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;
|
||||
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
|
||||
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);
|
||||
struct tm *tm, tmbuf;
|
||||
|
||||
Reference in New Issue
Block a user