use plain uint32_t
This commit is contained in:
parent
548613c617
commit
7f30609ff0
@ -98,7 +98,7 @@ run (void *cls,
|
||||
if (1 <
|
||||
num_partitions)
|
||||
{
|
||||
if (GNUNET_OK != plugin->setup_partitions (plugin->cls, &num_partitions))
|
||||
if (GNUNET_OK != plugin->setup_partitions (plugin->cls, num_partitions))
|
||||
{
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
"Could not setup partitions. Dropping default ones again\n");
|
||||
|
@ -207,13 +207,13 @@ postgres_create_tables (void *cls)
|
||||
*/
|
||||
static enum GNUNET_GenericReturnValue
|
||||
postgres_setup_partitions (void *cls,
|
||||
const uint32_t *num)
|
||||
const uint32_t num)
|
||||
{
|
||||
struct PostgresClosure *pg = cls;
|
||||
struct GNUNET_PQ_Context *conn;
|
||||
enum GNUNET_GenericReturnValue ret;
|
||||
struct GNUNET_PQ_QueryParam params[] = {
|
||||
GNUNET_PQ_query_param_uint32 (num),
|
||||
GNUNET_PQ_query_param_uint32 (&num),
|
||||
GNUNET_PQ_query_param_end
|
||||
};
|
||||
struct GNUNET_PQ_PreparedStatement ps[] = {
|
||||
|
@ -2242,7 +2242,7 @@ struct TALER_EXCHANGEDB_Plugin
|
||||
*/
|
||||
enum GNUNET_GenericReturnValue
|
||||
(*setup_partitions)(void *cls,
|
||||
const uint32_t *num);
|
||||
const uint32_t num);
|
||||
|
||||
/**
|
||||
* Start a transaction.
|
||||
|
Loading…
Reference in New Issue
Block a user