diff options
Diffstat (limited to 'CPP/Common/MyGuidDef.h')
-rwxr-xr-x | CPP/Common/MyGuidDef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/Common/MyGuidDef.h b/CPP/Common/MyGuidDef.h index 19562696..7cfaba0c 100755 --- a/CPP/Common/MyGuidDef.h +++ b/CPP/Common/MyGuidDef.h @@ -23,7 +23,7 @@ typedef struct { #ifdef __cplusplus inline int operator==(REFGUID g1, REFGUID g2) -{ +{ for (int i = 0; i < (int)sizeof(g1); i++) if (((unsigned char *)&g1)[i] != ((unsigned char *)&g2)[i]) return 0; |