The R Project SVN R

Rev

Rev 58423 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 58423 Rev 59096
Line 62... Line 62...
62
characters is still checked.
62
characters is still checked.
63
 
63
 
64
*/
64
*/
65
 
65
 
66
static int
66
static int
67
valid_utf8(const char *string, int length)
67
valid_utf8(const char *string, size_t length) // R change int->size_t
68
{
68
{
69
    const char *p;
69
    const char *p;
70
 
70
 
71
    for (p = string; length-- > 0; p++) {
71
    for (p = string; length-- > 0; p++) {
72
	int ab, c, d;
72
	int ab, c, d;