From 91ce826b1e68c9fa588fcae89745efc0f4ace2bb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 15 Jul 2001 18:55:03 +0000 Subject: [PATCH] Fixed bug in PHYSFS_VERSION macro. --- physfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/physfs.h b/physfs.h index aa9ea665..fc86ed0c 100644 --- a/physfs.h +++ b/physfs.h @@ -170,9 +170,9 @@ typedef struct __PHYSFS_VERSION__ #define PHYSFS_VER_PATCH 0 #define PHYSFS_VERSION(x) { \ - x->major = PHYSFS_VER_MAJOR; \ - x->minor = PHYSFS_VER_MINOR; \ - x->patch = PHYSFS_VER_PATCH; \ + (x)->major = PHYSFS_VER_MAJOR; \ + (x)->minor = PHYSFS_VER_MINOR; \ + (x)->patch = PHYSFS_VER_PATCH; \ } /**