summaryrefslogtreecommitdiff
path: root/src/arch/x86/memset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/memset.c')
-rw-r--r--src/arch/x86/memset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/memset.c b/src/arch/x86/memset.c
index fc09a9bd52..8a0165ba29 100644
--- a/src/arch/x86/memset.c
+++ b/src/arch/x86/memset.c
@@ -12,7 +12,7 @@ typedef uint32_t op_t;
void *memset(void *dstpp, int c, size_t len)
{
int d0;
- unsigned long int dstp = (unsigned long int) dstpp;
+ unsigned long int dstp = (unsigned long int)dstpp;
#if (ENV_ROMSTAGE && CONFIG(ASAN_IN_ROMSTAGE)) || \
(ENV_RAMSTAGE && CONFIG(ASAN_IN_RAMSTAGE))
@@ -22,7 +22,7 @@ void *memset(void *dstpp, int c, size_t len)
/* This explicit register allocation improves code very much indeed. */
register op_t x asm("ax");
- x = (unsigned char) c;
+ x = (unsigned char)c;
/* Clear the direction flag, so filling will move forward. */
asm volatile("cld");