@@ -23,7 +23,7 @@ int mbed_printf(const char *format, ...)
23
23
{
24
24
va_list arguments ;
25
25
va_start (arguments , format );
26
- int result = mbed_minimal_formatted_string (NULL , LONG_MAX , format , arguments , stdout );
26
+ int result = mbed_minimal_formatted_string (NULL , INT_MAX , format , arguments , stdout );
27
27
va_end (arguments );
28
28
29
29
return result ;
@@ -43,15 +43,15 @@ int mbed_sprintf(char *buffer, const char *format, ...)
43
43
{
44
44
va_list arguments ;
45
45
va_start (arguments , format );
46
- int result = mbed_minimal_formatted_string (buffer , LONG_MAX , format , arguments , NULL );
46
+ int result = mbed_minimal_formatted_string (buffer , INT_MAX , format , arguments , NULL );
47
47
va_end (arguments );
48
48
49
49
return result ;
50
50
}
51
51
52
52
int mbed_vprintf (const char * format , va_list arguments )
53
53
{
54
- return mbed_minimal_formatted_string (NULL , LONG_MAX , format , arguments , stdout );
54
+ return mbed_minimal_formatted_string (NULL , INT_MAX , format , arguments , stdout );
55
55
}
56
56
57
57
int mbed_vsnprintf (char * buffer , size_t length , const char * format , va_list arguments )
@@ -61,20 +61,20 @@ int mbed_vsnprintf(char *buffer, size_t length, const char *format, va_list argu
61
61
62
62
int mbed_vsprintf (char * buffer , const char * format , va_list arguments )
63
63
{
64
- return mbed_minimal_formatted_string (buffer , LONG_MAX , format , arguments , NULL );
64
+ return mbed_minimal_formatted_string (buffer , INT_MAX , format , arguments , NULL );
65
65
}
66
66
67
67
int mbed_fprintf (FILE * stream , const char * format , ...)
68
68
{
69
69
va_list arguments ;
70
70
va_start (arguments , format );
71
- int result = mbed_minimal_formatted_string (NULL , LONG_MAX , format , arguments , stream );
71
+ int result = mbed_minimal_formatted_string (NULL , INT_MAX , format , arguments , stream );
72
72
va_end (arguments );
73
73
74
74
return result ;
75
75
}
76
76
77
77
int mbed_vfprintf (FILE * stream , const char * format , va_list arguments )
78
78
{
79
- return mbed_minimal_formatted_string (NULL , LONG_MAX , format , arguments , stream );
79
+ return mbed_minimal_formatted_string (NULL , INT_MAX , format , arguments , stream );
80
80
}
0 commit comments