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;
|
||||
|
||||
q++;
|
||||
int n = q - buf;
|
||||
int n = (int)(q - buf);
|
||||
if (n > len-1) n = len-1;
|
||||
memcpy(dst, buf, n);
|
||||
dst[n] = 0;
|
||||
|
|
Loading…
Reference in New Issue