diff --git a/src/USER-MISC/fix_pimd.cpp b/src/USER-MISC/fix_pimd.cpp index 10fab4ff0ee31472e53859495d58c0774c422652..7d7ea265bb5f5b7d7bf9fc9903c06d87d7106f23 100644 --- a/src/USER-MISC/fix_pimd.cpp +++ b/src/USER-MISC/fix_pimd.cpp @@ -406,7 +406,7 @@ void FixPIMD::nhc_update_v() } /* ---------------------------------------------------------------------- - NM PIMD Operations + Normal Mode PIMD ------------------------------------------------------------------------- */ void FixPIMD::nmpimd_init() @@ -537,7 +537,7 @@ void FixPIMD::spring_force() } /* ---------------------------------------------------------------------- - Comm Operations + Comm operations ------------------------------------------------------------------------- */ void FixPIMD::comm_init() @@ -730,7 +730,7 @@ void FixPIMD::unpack_comm(int n, int first, double *buf) } /* ---------------------------------------------------------------------- - Memory Operations + Memory operations ------------------------------------------------------------------------- */ double FixPIMD::memory_usage() diff --git a/src/USER-MISC/fix_srp.cpp b/src/USER-MISC/fix_srp.cpp index ffbfb2a182412e9e6365d11447712ecc2b8e8fc1..1b22c8945fb4627eb05eb966494cba63bad62cc2 100644 --- a/src/USER-MISC/fix_srp.cpp +++ b/src/USER-MISC/fix_srp.cpp @@ -126,8 +126,8 @@ void FixSRP::init() // BPs do not interact with other types // type bptype only interacts with itself char* arg1[4]; - arg1[0] = "exclude"; - arg1[1] = "type"; + arg1[0] = (char *) "exclude"; + arg1[1] = (char *) "type"; char c0[20]; char c1[20];