Skip to content
Permalink
Browse files

Merge pull request #37 from RSpliet/master

Fix build warnings on 32-bit systems
  • Loading branch information
RSpliet committed Feb 5, 2016
2 parents 1571b8d + 9391b7c commit 730e83d220d560c3951b216f42aa37c27c2b853d
Showing with 2 additions and 2 deletions.
  1. +1 −1 demmt/drm.c
  2. +1 −1 nvbios/mem.c
@@ -771,7 +771,7 @@ int demmt_drm_ioctl_post(uint32_t fd, uint32_t id, uint8_t dir, uint8_t nr, uint

if (dump_decoded_ioctl_data)
{
mmt_log("%sDRM_IOCTL_VERSION64%s, version: %s%d.%d.%d%s, name_addr: 0x%lx, name_len: %ld, date_addr: 0x%lx, date_len: %ld, desc_addr: 0x%lx, desc_len: %ld%s\n",
mmt_log("%sDRM_IOCTL_VERSION64%s, version: %s%d.%d.%d%s, name_addr: 0x%"PRIx64", name_len: %"PRIu64", date_addr: 0x%"PRIx64", date_len: %"PRIu64", desc_addr: 0x%"PRIx64", desc_len: %"PRIu64"%s\n",
colors->rname, colors->reset, colors->eval, data->version_major,
data->version_minor, data->version_patchlevel, colors->reset,
data->name, data->name_len, data->date, data->date_len,
@@ -113,7 +113,7 @@ envy_bios_parse_mem_train (struct envy_bios *bios) {
err |= bios_u8(bios, entry->offset, &entry->u00);
if (mt->subentries > sizeof(entry->subentry)) {
mt->subentries = sizeof(entry->subentry);
ENVY_BIOS_ERR("Error when parsing mem train: subentries = %d > %lu\n", mt->subentries, sizeof(entry->subentry));
ENVY_BIOS_ERR("Error when parsing mem train: subentries = %d > %zu\n", mt->subentries, sizeof(entry->subentry));
return -EFAULT;
}
int j;

0 comments on commit 730e83d

Please sign in to comment.
You can’t perform that action at this time.