]> git.sesse.net Git - casparcg/blobdiff - modules/psd/channel.h
Missing includes
[casparcg] / modules / psd / channel.h
index 6e46765afe9b244467eba9e21f321cc193e41139..949c9229e2361d75e123989596d109132564b0f8 100644 (file)
 * Author: Niklas P Andersson, niklas.p.andersson@svt.se
 */
 
-#ifndef _PSDCHANNEL_H__
-#define _PSDCHANNEL_H__
-
 #pragma once
 
-#include "util\bigendian_file_input_stream.h"
+#include "util/bigendian_file_input_stream.h"
+
 #include <memory>
+#include <cstdint>
 
 namespace caspar { namespace psd {
 
 struct channel
 {
 public:
-       channel(short id1, unsigned long len) : id(id1), data_length(len) {}
+       channel(std::int16_t id1, std::uint32_t len) : id(id1), data_length(len) {}
 
-       short id;
-       unsigned long data_length;
+       std::int16_t id;
+       std::uint32_t data_length;
 };
 
 }      //namespace psd
 }      //namespace caspar
-
-#endif //_PSDCHANNEL_H__
\ No newline at end of file