mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed 64-bit compiler warning
SVN revision: 2057
This commit is contained in:
parent
93349c41f2
commit
8c04e598c1
@ -271,7 +271,7 @@ void convert_crlf(char *buffer, int bufsize)
|
||||
p = buffer;
|
||||
while ((p = strstr(p, "\\n")) != NULL) {
|
||||
|
||||
if ((int) p - (int) buffer < bufsize - 2) {
|
||||
if (p - buffer < bufsize - 2) {
|
||||
*(p++) = '\r';
|
||||
*(p++) = '\n';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user