mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3758
This commit is contained in:
parent
62c3c7ae6e
commit
80763cc1d0
|
@ -75,7 +75,7 @@ char* MIOFILE::fgets(char* dst, int len) {
|
||||||
if (!q) return 0;
|
if (!q) return 0;
|
||||||
|
|
||||||
q++;
|
q++;
|
||||||
int n = q - buf;
|
int n = (int)(q - buf);
|
||||||
if (n > len-1) n = len-1;
|
if (n > len-1) n = len-1;
|
||||||
memcpy(dst, buf, n);
|
memcpy(dst, buf, n);
|
||||||
dst[n] = 0;
|
dst[n] = 0;
|
||||||
|
|
Loading…
Reference in New Issue