]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/api.c
Bump copyright year
[libsigrok.git] / hardware / openbench-logic-sniffer / api.c
index 56176cc7eda1e3b8496545934543801aea424282..6d4b17b13ed2b377edb5dda00af060f2f924182d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * 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
@@ -293,7 +293,7 @@ static int config_set(int id, const void *value, const struct sr_dev_inst *sdi)
                        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;
                }