Skip to content

Commit

Permalink
protect argument in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 12, 2011
1 parent 1997991 commit 3a8da6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer/dhm.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include <hdf5.h>

#define dH5CHK(hret,func) if (hret < 0) dERROR(PETSC_COMM_SELF,PETSC_ERR_LIB, #func)
#define dH5CHK(hret,func) if ((hret) < 0) dERROR(PETSC_COMM_SELF,PETSC_ERR_LIB, #func)

#include <private/viewerimpl.h>
#include <dohpviewer.h>
Expand Down

0 comments on commit 3a8da6a

Please sign in to comment.