diff options
author | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
---|---|---|
committer | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
commit | 4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch) | |
tree | db1f21912f461000d609ddcd5d130946bcfe9e09 /databases/glom | |
parent | b4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff) |
Notes
Diffstat (limited to 'databases/glom')
-rw-r--r-- | databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc b/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc new file mode 100644 index 000000000000..a83ec8738c29 --- /dev/null +++ b/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc @@ -0,0 +1,20 @@ +--- glom/libglom/python_embed/py_glom_record.cc.orig Sun Jul 15 13:34:18 2007 ++++ glom/libglom/python_embed/py_glom_record.cc Sun Jul 15 13:34:44 2007 +@@ -122,7 +122,7 @@ + + + +-static int ++static Py_ssize_t + Record_tp_as_mapping_length(PyGlomRecord *self) + { + return self->m_pMap_field_values->size(); +@@ -146,7 +146,7 @@ + } + else + { +- g_warning("Record_tp_as_mapping_getitem(): item not found in m_pMap_field_values. size=%d, item=%s", self->m_pMap_field_values->size(), pchKey); ++ g_warning("Record_tp_as_mapping_getitem(): item not found in m_pMap_field_values. size=%d, item=%s", (int)self->m_pMap_field_values->size(), pchKey); + } + } + else |