aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-18 01:33:57 +0000
committerDavid Robillard <d@drobilla.net>2012-01-18 01:33:57 +0000
commit8778ef5322c33b4aa656db8a810010df19b70235 (patch)
treed20f4c5e27e02ec4c3801705bc16a75ab760b9d2 /serd/serd.h
parent79efd9f6e30bec80020ab578940d03a228a1d024 (diff)
downloadserd-8778ef5322c33b4aa656db8a810010df19b70235.tar.gz
serd-8778ef5322c33b4aa656db8a810010df19b70235.tar.bz2
serd-8778ef5322c33b4aa656db8a810010df19b70235.zip
Make serd_node_new_integer take int64_t instead of long.
Turns out long is sometimes 32-bits even on modern 64-bit machines on certain insane Operating Systems... git-svn-id: http://svn.drobilla.net/serd/trunk@297 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 06e0af43..c69d0eaa 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -429,7 +429,7 @@ serd_node_new_decimal(double d, unsigned frac_digits);
*/
SERD_API
SerdNode
-serd_node_new_integer(long i);
+serd_node_new_integer(int64_t i);
/**
Create a node by serialising @c buf into an xsd:base64Binary string.