Skip to content

Commit

Permalink
Update typeobject.c
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jan 13, 2025
1 parent 98aa44d commit 3d7689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ type_modified_unlocked(PyTypeObject *type)
We don't assign new version tags eagerly, but only as
needed.
*/
if (_Py_atomic_load_uint32_acquire(type->tp_version_tag) == 0) {
if (_Py_atomic_load_uint_relaxed(type->tp_version_tag) == 0) {

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04-aarch64)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

passing argument 1 of ‘_Py_atomic_load_uint_relaxed’ makes pointer from integer without a cast [-Wint-conversion]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'function': 'const unsigned int *' differs in levels of indirection from 'unsigned int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 999 in Objects/typeobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'_Py_atomic_load_uint_relaxed': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
return;
}
// Cannot modify static builtin types.
Expand Down

0 comments on commit 3d7689f

Please sign in to comment.