summaryrefslogtreecommitdiff
path: root/Programs
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-05-24 17:19:47 -0700
committerGitHub <noreply@github.com>2017-05-24 17:19:47 -0700
commitd1c3c13fedaf62b71445ccd048e395aa4a7d510f (patch)
treed54d7b78c2f31b214ebb9889817943a85ff3842d /Programs
parent94987826e89e8a89c20f081e18be33fc840e6203 (diff)
downloadcpython-git-d1c3c13fedaf62b71445ccd048e395aa4a7d510f.tar.gz
bpo-30447: Fix/skip the subinterpreters test on some platforms. (#1791)
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index de88404465..c7660f9581 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(