Skip to content

Commit 761257e

Browse files
dpdanicolesbury
andauthored
Apply suggestions from code review
Co-authored-by: Sam Gross <[email protected]>
1 parent b3b07d5 commit 761257e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Include/cpython/pyatomic_msc.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -956,25 +956,25 @@ _Py_atomic_store_char_relaxed(char *obj, char value)
956956
static inline void
957957
_Py_atomic_store_uchar_relaxed(unsigned char *obj, unsigned char value)
958958
{
959-
*(volatile unsigned char*)obj = value;
959+
*(volatile unsigned char *)obj = value;
960960
}
961961

962962
static inline void
963963
_Py_atomic_store_short_relaxed(short *obj, short value)
964964
{
965-
*(volatile short*)obj = value;
965+
*(volatile short *)obj = value;
966966
}
967967

968968
static inline void
969969
_Py_atomic_store_ushort_relaxed(unsigned short *obj, unsigned short value)
970970
{
971-
*(volatile unsigned short*)obj = value;
971+
*(volatile unsigned short *)obj = value;
972972
}
973973

974974
static inline void
975975
_Py_atomic_store_uint_release(unsigned int *obj, unsigned int value)
976976
{
977-
*(volatile unsigned int*)obj = value;
977+
*(volatile unsigned int *)obj = value;
978978
}
979979

980980
static inline void
@@ -998,7 +998,7 @@ _Py_atomic_store_double_relaxed(double *obj, double value)
998998
static inline void
999999
_Py_atomic_store_llong_relaxed(long long *obj, long long value)
10001000
{
1001-
*(volatile long long*)obj = value;
1001+
*(volatile long long *)obj = value;
10021002
}
10031003

10041004

0 commit comments

Comments
 (0)