diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2017-05-25 00:19:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 00:19:47 (GMT) |
commit | d1c3c13fedaf62b71445ccd048e395aa4a7d510f (patch) | |
tree | d54d7b78c2f31b214ebb9889817943a85ff3842d /Programs | |
parent | 94987826e89e8a89c20f081e18be33fc840e6203 (diff) | |
download | cpython-d1c3c13fedaf62b71445ccd048e395aa4a7d510f.zip cpython-d1c3c13fedaf62b71445ccd048e395aa4a7d510f.tar.gz cpython-d1c3c13fedaf62b71445ccd048e395aa4a7d510f.tar.bz2 |
bpo-30447: Fix/skip the subinterpreters test on some platforms. (#1791)
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_testembed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index de88404..c7660f9 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -28,7 +28,7 @@ static void print_subinterp(void) PyThreadState *ts = PyThreadState_Get(); PyInterpreterState *interp = ts->interp; int64_t id = PyInterpreterState_GetID(interp); - printf("interp %lu <0x%" PRIXPTR ">, thread state <0x%" PRIXPTR ">: ", + printf("interp %" PRId64 " <0x%" PRIXPTR ">, thread state <0x%" PRIXPTR ">: ", id, (uintptr_t)interp, (uintptr_t)ts); fflush(stdout); PyRun_SimpleString( |