/*
* This file is part of the sigrok project.
*
- * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
ret = SR_OK;
break;
case SR_CONF_RLE:
- if (GPOINTER_TO_INT(value)) {
+ if (*(int *)value) {
sr_info("Enabling RLE.");
devc->flag_reg |= FLAG_RLE;
}