diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 11:25:34 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | 30557984c4dac095c98ba7ba25afa6948d6f9934 (patch) | |
tree | 4e490c92fbeb44efef0e53fbbe10f938e7822425 /libmsi/record.c | |
parent | b19defc32740225273c7efa63a784de18cde3dd1 (diff) | |
download | msitools-30557984c4dac095c98ba7ba25afa6948d6f9934.tar.gz msitools-30557984c4dac095c98ba7ba25afa6948d6f9934.tar.xz msitools-30557984c4dac095c98ba7ba25afa6948d6f9934.zip |
get rid of the stupid Win32 CHAR type
Diffstat (limited to 'libmsi/record.c')
-rw-r--r-- | libmsi/record.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmsi/record.c b/libmsi/record.c index c3f71a6..66cfb8f 100644 --- a/libmsi/record.c +++ b/libmsi/record.c @@ -368,10 +368,10 @@ BOOL MsiRecordIsNull( MSIOBJECT *handle, unsigned iField ) } unsigned MSI_RecordGetStringA(MSIRECORD *rec, unsigned iField, - CHAR *szValue, unsigned *pcchValue) + char *szValue, unsigned *pcchValue) { unsigned len=0, ret; - CHAR buffer[16]; + char buffer[16]; TRACE("%p %d %p %p\n", rec, iField, szValue, pcchValue); @@ -421,7 +421,7 @@ unsigned MSI_RecordGetStringA(MSIRECORD *rec, unsigned iField, } unsigned MsiRecordGetStringA(MSIOBJECT *handle, unsigned iField, - CHAR *szValue, unsigned *pcchValue) + char *szValue, unsigned *pcchValue) { MSIRECORD *rec; unsigned ret; @@ -564,7 +564,7 @@ unsigned MsiRecordDataSize(MSIOBJECT *handle, unsigned iField) return ret; } -static unsigned MSI_RecordSetStringA( MSIRECORD *rec, unsigned iField, const CHAR *szValue ) +static unsigned MSI_RecordSetStringA( MSIRECORD *rec, unsigned iField, const char *szValue ) { WCHAR *str; @@ -589,7 +589,7 @@ static unsigned MSI_RecordSetStringA( MSIRECORD *rec, unsigned iField, const CHA return 0; } -unsigned MsiRecordSetStringA( MSIOBJECT *handle, unsigned iField, const CHAR *szValue ) +unsigned MsiRecordSetStringA( MSIOBJECT *handle, unsigned iField, const char *szValue ) { MSIRECORD *rec; unsigned ret; @@ -752,7 +752,7 @@ unsigned MSI_RecordSetStreamFromFileW(MSIRECORD *rec, unsigned iField, const WCH return ERROR_SUCCESS; } -unsigned MsiRecordSetStreamA(MSIOBJECT *hRecord, unsigned iField, const CHAR *szFilename) +unsigned MsiRecordSetStreamA(MSIOBJECT *hRecord, unsigned iField, const char *szFilename) { WCHAR *wstr = NULL; unsigned ret; |