summaryrefslogtreecommitdiffstats
path: root/PC/_msi.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/_msi.c')
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index 35f137a..f4af92a 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -495,7 +495,7 @@ summary_getproperty(msiobj* si, PyObject *args)
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize);
- if (status = ERROR_MORE_DATA) {
+ if (status == ERROR_MORE_DATA) {
sval = malloc(ssize);
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize);