diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 10:53:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | a1b24a6892f5d776a74d2dd474c6e5c89111ba02 (patch) | |
tree | d7145b130f1ab018dfbdd54d3f94e04058940abd /tests/testrecord.c | |
parent | 73d6f4144fc246161652e43351253a7e9a8ef33e (diff) | |
download | msitools-a1b24a6892f5d776a74d2dd474c6e5c89111ba02.tar.gz msitools-a1b24a6892f5d776a74d2dd474c6e5c89111ba02.tar.xz msitools-a1b24a6892f5d776a74d2dd474c6e5c89111ba02.zip |
make MSIOBJECT arguments explicitly pointers
Diffstat (limited to 'tests/testrecord.c')
-rw-r--r-- | tests/testrecord.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/testrecord.c b/tests/testrecord.c index 29d7dfe..d9008b4 100644 --- a/tests/testrecord.c +++ b/tests/testrecord.c @@ -50,7 +50,7 @@ static void test_msirecord(void) { DWORD r, sz; INT i; - PMSIOBJECT h; + MSIOBJECT *h; char buf[10]; WCHAR bufW[10]; const char str[] = "hello"; @@ -383,7 +383,7 @@ static void test_msirecord(void) static void test_MsiRecordGetString(void) { - PMSIOBJECT rec; + MSIOBJECT *rec; CHAR buf[MAX_PATH]; DWORD sz; UINT r; @@ -445,7 +445,7 @@ static void test_MsiRecordGetString(void) static void test_MsiRecordGetInteger(void) { - PMSIOBJECT rec; + MSIOBJECT *rec; INT val; UINT r; @@ -475,7 +475,9 @@ static void test_MsiRecordGetInteger(void) static void test_fieldzero(void) { - PMSIOBJECT hdb, hview, rec; + MSIOBJECT *hdb; + MSIOBJECT *hview; + MSIOBJECT *rec; CHAR buf[MAX_PATH]; const CHAR *query; DWORD sz; |