diff options
author | FORT David <rdp.effort@gmail.com> | 2015-07-20 14:39:20 +0200 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-07-23 18:32:01 -0700 |
commit | c2635c659982c864c40ec5836b0304eee79c2d24 (patch) | |
tree | 38d1c18ad567b2a948f49463310e25601203a700 /src | |
parent | 2eff22b8e6f6e5255a1915c33dfd91cecf02cbbc (diff) |
remove a warning during compilation
backend_init now returns an int not a pointer.
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor-rdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 86c5b2ac..70d290b3 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -1270,7 +1270,7 @@ backend_init(struct weston_compositor *compositor, int *argc, char *argv[], if (!config.rdp_key && (!config.server_cert || !config.server_key)) { weston_log("the RDP compositor requires keys and an optional certificate for RDP or TLS security (" "--rdp4-key or --rdp-tls-cert/--rdp-tls-key)\n"); - return NULL; + return -1; } b = rdp_backend_create(compositor, &config, argc, argv, wconfig); |