diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 15:25:42 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 15:25:42 +0000 |
commit | b2c0d8b6576b26631db7c450ac16c3776d80f476 (patch) | |
tree | 1c37e7aa18658a02b681d0dc34fba2d3f8219b6b /wctdm.c | |
parent | 0c56205a9a0d74562271fbaeddcabe91470f5f72 (diff) |
clean up various compiler warnings
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1920 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rw-r--r-- | wctdm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -345,8 +345,8 @@ struct wctdm { unsigned long ioaddr; dma_addr_t readdma; dma_addr_t writedma; - volatile int *writechunk; /* Double-word aligned write memory */ - volatile int *readchunk; /* Double-word aligned read memory */ + volatile unsigned int *writechunk; /* Double-word aligned write memory */ + volatile unsigned int *readchunk; /* Double-word aligned read memory */ struct zt_chan chans[NUM_CARDS]; }; @@ -2204,7 +2204,7 @@ static int __devinit wctdm_init_one(struct pci_dev *pdev, const struct pci_devic /* Allocate enough memory for two zt chunks, receive and transmit. Each sample uses 32 bits. Allocate an extra set just for control too */ - wc->writechunk = (int *)pci_alloc_consistent(pdev, ZT_MAX_CHUNKSIZE * 2 * 2 * 2 * 4, &wc->writedma); + wc->writechunk = pci_alloc_consistent(pdev, ZT_MAX_CHUNKSIZE * 2 * 2 * 2 * 4, &wc->writedma); if (!wc->writechunk) { printk("wctdm: Unable to allocate DMA-able memory\n"); if (wc->freeregion) |