From ed37c149d1c9da1f0dd83114f875170ad4184d9c Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 6 Mar 2019 05:56:58 -0800 Subject: [PATCH] fss: how many commits does it take to fix one line of code? --- fusee/fusee-secondary/src/nxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusee/fusee-secondary/src/nxfs.c b/fusee/fusee-secondary/src/nxfs.c index e120c35a0..4b657a6f7 100644 --- a/fusee/fusee-secondary/src/nxfs.c +++ b/fusee/fusee-secondary/src/nxfs.c @@ -316,7 +316,7 @@ int nxfs_mount_all(void) { model = g_mmc_devpart_template; model.device_struct = &g_emmc_user_mmcpart; model.start_sector = 0; - model.num_sectors = *(uint32_t*)g_emmc_user_mmcpart.device->ext_csd.raw_sectors[0]; + model.num_sectors = *(uint32_t*)&g_emmc_user_mmcpart.device->ext_csd.raw_sectors[0]; rc = rawdev_mount_device("rawnand", &model, false);