mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
fixed a warning which MingW gcc 4.2.1.
This commit is contained in:
parent
c7a66d5af4
commit
3f62bfb61d
@ -296,10 +296,10 @@ int dprintf_Pass1Report(va_stack_t *vto, int max)
|
|||||||
*
|
*
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
static long dprintf_Pass1(char *format, va_stack_t *vto, char **endpos,
|
static long dprintf_Pass1(const char *format, va_stack_t *vto, char **endpos,
|
||||||
va_list arglist)
|
va_list arglist)
|
||||||
{
|
{
|
||||||
char *fmt = format;
|
char *fmt = (char *)format;
|
||||||
int param_num = 0;
|
int param_num = 0;
|
||||||
long this_param;
|
long this_param;
|
||||||
long width;
|
long width;
|
||||||
@ -614,7 +614,7 @@ static int dprintf_formatf(
|
|||||||
va_stack_t *p;
|
va_stack_t *p;
|
||||||
|
|
||||||
/* Do the actual %-code parsing */
|
/* Do the actual %-code parsing */
|
||||||
dprintf_Pass1((char *)format, vto, endpos, ap_save);
|
dprintf_Pass1(format, vto, endpos, ap_save);
|
||||||
|
|
||||||
end = &endpos[0]; /* the initial end-position from the list dprintf_Pass1()
|
end = &endpos[0]; /* the initial end-position from the list dprintf_Pass1()
|
||||||
created for us */
|
created for us */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user