Index: /trunk/FACT++/src/EventBuilder.c
===================================================================
--- /trunk/FACT++/src/EventBuilder.c	(revision 15336)
+++ /trunk/FACT++/src/EventBuilder.c	(revision 15337)
@@ -1811,5 +1811,5 @@
                          if (gi_NumConnect[b] >0 ) {
                              str[ik++] = '.';
-                            report |= 1<<ib;
+                            report |= ((uint64_t)1)<<ib;
                          } else {
                              str[ik++] = 'x';
@@ -2632,5 +2632,5 @@
       if (runIdFound == 0)
       {
-          snprintf(str, MXSTR, "An Active run (number %ud) has been registered, but it could not be found in the runs list", actrun);
+          snprintf(str, MXSTR, "An Active run (number %u) has been registered, but it could not be found in the runs list", actrun);
           factOut(kInfo, 000, str);
       }
