Canonicalize conversion operators
[deliverable/binutils-gdb.git] / sim / bfin / dv-bfin_emac.c
index ec40bc5dc811bfe4b575d91265f20b2c25d4b139..3dec464ead19c9f39eabcaa880758d7692d34bd7 100644 (file)
@@ -1,6 +1,6 @@
 /* Blackfin Ethernet Media Access Controller (EMAC) model.
 
-   Copyright (C) 2010-2016 Free Software Foundation, Inc.
+   Copyright (C) 2010-2017 Free Software Foundation, Inc.
    Contributed by Analog Devices, Inc.
 
    This file is part of simulators.
@@ -413,7 +413,7 @@ bfin_emac_dma_read_buffer (struct hw *me, void *dest, int space,
       if (ret < 0)
        return 0;
       ret += 4; /* include crc */
-      pad_ret = MAX (ret + 4, 64);
+      pad_ret = max (ret + 4, 64);
       len = pad_ret;
       memcpy (dest, &len, 2);
 
This page took 0.02289 seconds and 4 git commands to generate.