<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>
Andrew Price pushed to branch master
at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce">769ee045</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2016-03-04T21:37:54+00:00</i>
</div>
<pre class='commit-message'>Add -Wtype-limits

And fix some issues it complains about. Also tweak one issue found by
adding -Wmissing-field-initializers temporarily (that warning is too
fussy to enable by default).</pre>
</li>
</ul>
<h4>4 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
Makefile.common
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/client/command.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
src/client/mesg.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
src/client/talker.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce#diff-0'>
<strong>
Makefile.common
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/Makefile.common
</span><span style="color: #000000;background-color: #ddffdd">+++ b/Makefile.common
</span><span style="color: #aaaaaa">@@ -48,6 +48,7 @@ WARNINGS = \
</span>   -Wformat=2 \
        -Wformat-security \
        -Wformat-nonliteral \
<span style="color: #000000;background-color: #ddffdd">+        -Wtype-limits \
</span>   -Wno-long-long \
        -Wno-strict-aliasing \
 
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce#diff-1'>
<strong>
src/client/command.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/command.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/command.c
</span><span style="color: #aaaaaa">@@ -83,5 +83,5 @@ CommandList table[]={
</span> {"wiz",        0x002, 1, "Usage: wiz <message>", "Send message to all wizchat users", c_wiz, 1},
 {"wizchat",    0x002, 1, "Usage: wizchat on|off", "Toggle wizchat", c_wizchat, 1},
 {"write",      0x000, 0, "Usage: write", "Post a message to the current folder", c_write, 1},
<span style="color: #000000;background-color: #ffdddd">-{NULL,         0x000, 0, NULL, NULL, 0}
</span><span style="color: #000000;background-color: #ddffdd">+{NULL,         0x000, 0, NULL, NULL, NULL, 0}
</span> };
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce#diff-2'>
<strong>
src/client/mesg.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/mesg.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/mesg.c
</span><span style="color: #aaaaaa">@@ -20,7 +20,7 @@ extern struct user * const user;
</span> 
 void inform_of_mail(char *to)
 {
<span style="color: #000000;background-color: #ffdddd">-        if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) < 0)
</span><span style="color: #000000;background-color: #ddffdd">+   if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) != 0)
</span>           printf(_("Cannot inform %s of new mail.\n"),to);
 }
 
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce#diff-3'>
<strong>
src/client/talker.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/talker.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/talker.c
</span><span style="color: #aaaaaa">@@ -260,14 +260,6 @@ void t_runaway(CommandList *cm, int argc, const char **argv, char *args)
</span>                                   return;
                                }
                        }
<span style="color: #000000;background-color: #ffdddd">-                        else
-                       {
-                               if (num < 0)
-                               {
-                                       printf("Invalid Runaway. Must be positive (0 disables)\n");
-                                       return;
-                               }
-                       }
</span>                   run_away = num;
                        if (run_away == 0) printf("Runaway disabled\n");
                        else printf("Runaway set to value: %lu\n", run_away);
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/769ee045c751432f5edeeae67ff5f6055ac2b2ce"}}</script>
</p>
</div>
</body>
</html>