summaryrefslogtreecommitdiff
path: root/meme/meme.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-03-16 15:44:34 (GMT)
committerWerner Almesberger <werner@almesberger.net>2015-03-16 15:44:34 (GMT)
commit7a36d4f5b214d62268a085dad665b09c41f2b3c7 (patch)
tree9a5934c45ccae9d15cc346a10061ad04001953ef /meme/meme.c
parent542ea751bc0d739ac4ff8490abd66726dd7c08ee (diff)
downloadmisc-7a36d4f5b214d62268a085dad665b09c41f2b3c7.zip
misc-7a36d4f5b214d62268a085dad665b09c41f2b3c7.tar.gz
misc-7a36d4f5b214d62268a085dad665b09c41f2b3c7.tar.bz2
meme/, vispcb/: separate paths from "struct overlay"
Diffstat (limited to 'meme/meme.c')
-rw-r--r--meme/meme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/meme/meme.c b/meme/meme.c
index 2a8d11b..57e906a 100644
--- a/meme/meme.c
+++ b/meme/meme.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
const char *logfile = NULL;
const char *slice = NULL;
bool needle = 0;
- const struct overlay *overlays[N_OVERLAYS];
+ struct overlay overlays[N_OVERLAYS];
unsigned n_overlays = 0;
struct time t_load;
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
fprintf(stderr, "too many overlays\n");
exit(1);
}
- overlays[n_overlays] = overlay_load(optarg,
+ overlay_load(overlays + n_overlays, optarg,
overlay_xform);
n_overlays++;
break;