Skip to content

Commit

Permalink
refs #4201 Fixing unix error
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jan 3, 2012
1 parent 546699e commit c145318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ die() {
echo '-----------------------' 1>&2
echo '' 1>&2
echo "$@" 1>&2
exit 1
return
}

zero='0000000000000000000000000000000000000000'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ template< Q_state Q, AnalMode MODE, CnvrtUnits CONV >
class LOOP_ND{
public:
static inline void EXEC(ConvertToMDEvents *pH){
LOOP_ND<Q, MODE,CnvrtUnits(int(CONV)-1)>::EXEC(pH);
LOOP_ND<Q, MODE,static_cast<CnvrtUnits>(static_cast<int>(CONV)-1)>::EXEC(pH);

std::string Key = pH->Q_modes[Q]+pH->dE_modes[MODE]+pH->ConvModes[CONV];

Expand Down

0 comments on commit c145318

Please sign in to comment.