net: e1000: Fix build warnings for 32-bit
[oweals/u-boot.git] / drivers / net / fsl-mc / mc_sys.c
index 3fc1f98341568595c4616670091e40a028dec562..2136670370049546cd6c2f2f1e507ff8b3a52fa1 100644 (file)
@@ -14,7 +14,7 @@
 #include <asm/io.h>
 
 #define MC_CMD_HDR_READ_CMDID(_hdr) \
-       ((uint16_t)u64_dec((_hdr), MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S))
+       ((uint16_t)mc_dec((_hdr), MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S))
 
 /**
  * mc_send_command - Send MC command and wait for response