biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compiles in MSVC with cmake
[alexxy/gromacs.git]
/
src
/
gmxlib
/
main.c
diff --git
a/src/gmxlib/main.c
b/src/gmxlib/main.c
index 0e6ac34dccaf6af93eb6ae0ea5216b97d81342b4..cf60c456fa19ea886912559647f72b5c7961f649 100644
(file)
--- a/
src/gmxlib/main.c
+++ b/
src/gmxlib/main.c
@@
-114,7
+114,7
@@
static void par_fn(char *base,int ftp,const t_commrec *cr,
{
int n;
- if(bufsize<(strlen(base)+4))
+ if(
(size_t)
bufsize<(strlen(base)+4))
gmx_mem("Character buffer too small!");
/* Copy to buf, and strip extension */