summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
committerDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
commit972a3e8476687951e8af4e9c1d4f25014dab1b82 (patch)
treeb20e1827a15a4309679fa68c7f8764e2381bde6b /src/libs/client
parentf36e709b68144191d51959d6a2224cd9c3ad7871 (diff)
downloadingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.tar.gz
ingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.tar.bz2
ingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.zip
Use uint32_t for num_ports (and poly), matches LV2 and size_t is excessive on 64-bit.
Remove (linear) sorted assertion from Table, except in unit tests. git-svn-id: http://svn.drobilla.net/lad/ingen@643 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/DeprecatedLoader.cpp2
-rw-r--r--src/libs/client/DeprecatedLoader.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/client/DeprecatedLoader.cpp b/src/libs/client/DeprecatedLoader.cpp
index a98b7794..e33a6b5c 100644
--- a/src/libs/client/DeprecatedLoader.cpp
+++ b/src/libs/client/DeprecatedLoader.cpp
@@ -185,7 +185,7 @@ string
DeprecatedLoader::load_patch(const Glib::ustring& filename,
boost::optional<Path> parent_path,
string name,
- size_t poly,
+ uint32_t poly,
MetadataMap initial_data,
bool existing)
{
diff --git a/src/libs/client/DeprecatedLoader.hpp b/src/libs/client/DeprecatedLoader.hpp
index 593cfb33..e3397de6 100644
--- a/src/libs/client/DeprecatedLoader.hpp
+++ b/src/libs/client/DeprecatedLoader.hpp
@@ -63,7 +63,7 @@ public:
string load_patch(const Glib::ustring& filename,
boost::optional<Path> parent_path,
string name,
- size_t poly,
+ uint32_t poly,
MetadataMap initial_data,
bool existing = false);